Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 110.8 kB / 16.41 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 185.5 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.89 kB / 0.9516 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9159/0.9172, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2316/1.149, allocations: 190.5 MB / 1.275 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.009847/1.159, allocations: 5.713 MB / 1.28 GB, free: 9.488 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/1.16, allocations: 39.75 kB / 1.28 GB, free: 9.449 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001623/1.162, allocations: 0.5903 MB / 1.281 GB, free: 8.855 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004975/1.167, allocations: 1.894 MB / 1.283 GB, free: 6.953 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003346/1.171, allocations: 1.195 MB / 1.284 GB, free: 5.766 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004103/1.175, allocations: 2.963 MB / 1.287 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/1.176, allocations: 1.122 MB / 1.288 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/1.178, allocations: 1.113 MB / 1.289 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002043/1.18, allocations: 0.9626 MB / 1.29 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002128/1.18, allocations: 124 kB / 1.29 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/1.183, allocations: 1.442 MB / 1.291 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005872/1.184, allocations: 0.5689 MB / 1.292 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008715/1.185, allocations: 0.7234 MB / 1.293 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003333/1.188, allocations: 2.341 MB / 1.295 GB, free: 10.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.188, allocations: 0 / 1.295 GB, free: 10.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/1.188, allocations: 4 kB / 1.295 GB, free: 10.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.459e-05/1.188, allocations: 0 / 1.295 GB, free: 10.36 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002564/1.191, allocations: 1.612 MB / 1.297 GB, free: 8.699 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/1.191, allocations: 12.03 kB / 1.297 GB, free: 8.688 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/1.193, allocations: 326.2 kB / 1.297 GB, free: 8.367 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/1.194, allocations: 0.9174 MB / 1.298 GB, free: 7.406 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.679e-05/1.194, allocations: 77.94 kB / 1.298 GB, free: 7.328 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/1.195, allocations: 96 kB / 1.298 GB, free: 7.234 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/1.196, allocations: 1.085 MB / 1.299 GB, free: 6.141 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/1.196, allocations: 0 / 1.299 GB, free: 6.141 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.933e-05/1.197, allocations: 47.98 kB / 1.299 GB, free: 6.094 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-05/1.197, allocations: 37.94 kB / 1.299 GB, free: 6.059 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/1.198, allocations: 0.9954 MB / 1.3 GB, free: 5.062 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005818/1.204, allocations: 4.216 MB / 1.304 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008815/1.205, allocations: 0.5903 MB / 1.305 GB, free: 15.95 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004832/1.205, allocations: 336.9 kB / 1.305 GB, free: 15.62 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/1.206, allocations: 113.5 kB / 1.305 GB, free: 15.49 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/1.206, allocations: 43 kB / 1.305 GB, free: 15.44 MB / 1.045 GB Notification: Performance of pre-optimization done (n=53): time 3.667e-06/1.206, allocations: 0 / 1.305 GB, free: 15.44 MB / 1.045 GB Notification: Performance of matching and sorting (n=55): time 0.003961/1.21, allocations: 2.204 MB / 1.307 GB, free: 13.11 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/1.21, allocations: 59.91 kB / 1.307 GB, free: 13.04 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/1.211, allocations: 0.8843 MB / 1.308 GB, free: 12.15 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.994e-05/1.211, allocations: 41.7 kB / 1.308 GB, free: 12.1 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/1.211, allocations: 0.5145 MB / 1.309 GB, free: 11.58 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/1.211, allocations: 193.3 kB / 1.309 GB, free: 11.39 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/1.212, allocations: 126.5 kB / 1.309 GB, free: 11.26 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001119/1.212, allocations: 334 kB / 1.309 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004617/1.212, allocations: 289.8 kB / 1.31 GB, free: 10.64 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005528/1.213, allocations: 436.9 kB / 1.31 GB, free: 10.16 MB / 1.045 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003743/1.216, allocations: 1.741 MB / 1.312 GB, free: 8.352 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.216, allocations: 0 / 1.312 GB, free: 8.352 MB / 1.045 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001508/1.218, allocations: 0.926 MB / 1.313 GB, free: 7.41 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/1.218, allocations: 8 kB / 1.313 GB, free: 7.402 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.218, allocations: 4 kB / 1.313 GB, free: 7.398 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/1.218, allocations: 98.45 kB / 1.313 GB, free: 7.293 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/1.219, allocations: 164 kB / 1.313 GB, free: 7.133 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/1.223, allocations: 4.64 MB / 1.318 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000947/1.224, allocations: 27.92 kB / 1.318 GB, free: 2.047 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.326e-05/1.224, allocations: 28 kB / 1.318 GB, free: 2.02 MB / 1.045 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000603/1.224, allocations: 346.6 kB / 1.318 GB, free: 1.672 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/1.224, allocations: 102.8 kB / 1.318 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/1.225, allocations: 109.2 kB / 1.318 GB, free: 1.465 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/1.225, allocations: 8.062 kB / 1.318 GB, free: 1.457 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.225, allocations: 3.938 kB / 1.318 GB, free: 1.453 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001057/1.226, allocations: 0.7614 MB / 1.319 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/1.229, allocations: 1.996 MB / 1.321 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.229, allocations: 4 kB / 1.321 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000655/1.229, allocations: 147.8 kB / 1.321 GB, free: 14.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/1.229, allocations: 40.77 kB / 1.321 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/1.229, allocations: 16 kB / 1.321 GB, free: 14.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/1.231, allocations: 1.61 MB / 1.323 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.231, allocations: 4 kB / 1.323 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/1.232, allocations: 1.208 MB / 1.324 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004167/1.233, allocations: 259.9 kB / 1.324 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/1.233, allocations: 16 kB / 1.324 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000661/1.234, allocations: 36.83 kB / 1.324 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/1.234, allocations: 43.83 kB / 1.324 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.765e-05/1.234, allocations: 35.97 kB / 1.324 GB, free: 10.9 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007735/1.234, allocations: 0.6161 MB / 1.325 GB, free: 10.29 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.41e-07/1.235, allocations: 0 / 1.325 GB, free: 10.29 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000966/1.235, allocations: 300 kB / 1.325 GB, free: 9.996 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000483/1.236, allocations: 205.6 kB / 1.325 GB, free: 9.793 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001502/1.237, allocations: 0.9994 MB / 1.326 GB, free: 8.754 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.238, allocations: 8.062 kB / 1.326 GB, free: 8.746 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006004/1.238, allocations: 442.3 kB / 1.327 GB, free: 8.301 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/1.241, allocations: 0.6459 MB / 1.327 GB, free: 7.672 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/1.244, allocations: 2.176 MB / 1.329 GB, free: 5.426 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000749/1.245, allocations: 1.174 MB / 1.331 GB, free: 4.223 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/1.245, allocations: 79.44 kB / 1.331 GB, free: 4.145 MB / 1.061 GB Notification: Performance of SimCode: time 2.284e-06/1.245, allocations: 0 / 1.331 GB, free: 4.145 MB / 1.061 GB Notification: Performance of Templates: time 0.03554/1.281, allocations: 27.03 MB / 1.357 GB, free: 9.258 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.C[1],volSte.C[1] Variables in the result:gain.y,time,volDyn.C[1],volDyn.ports[1].m_flow,volSte.C[1]