Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 200 kB / 16.79 MB, free: 6.828 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.374/1.374, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.2 MB / 0.6649 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 63.89 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7181/0.7197, allocations: 140.4 MB / 0.9496 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.2339/0.9536, allocations: 218.9 MB / 1.163 GB, free: 6.516 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01018/0.9639, allocations: 5.789 MB / 1.169 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.9658, allocations: 35.75 kB / 1.169 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.9678, allocations: 0.5052 MB / 1.169 GB, free: 176 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00572/0.9736, allocations: 1.742 MB / 1.171 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003588/0.9772, allocations: 1.075 MB / 1.172 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005227/0.9824, allocations: 4.096 MB / 1.176 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.9842, allocations: 0.8732 MB / 1.177 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/0.9865, allocations: 0.9101 MB / 1.178 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003232/0.9898, allocations: 0.9714 MB / 1.179 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004183/0.9902, allocations: 52 kB / 1.179 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003945/0.9942, allocations: 1.633 MB / 1.181 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008077/0.995, allocations: 414.8 kB / 1.181 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001563/0.9966, allocations: 0.5909 MB / 1.182 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002509/0.9991, allocations: 1.594 MB / 1.183 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.9991, allocations: 0 / 1.183 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9991, allocations: 4 kB / 1.183 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.547e-05/0.9992, allocations: 0 / 1.183 GB, free: 2.188 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003466/1.003, allocations: 1.511 MB / 1.185 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.003, allocations: 8.031 kB / 1.185 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/1.005, allocations: 322.3 kB / 1.185 GB, free: 304 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/1.007, allocations: 0.8163 MB / 1.186 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-05/1.007, allocations: 66 kB / 1.186 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/1.007, allocations: 84 kB / 1.186 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/1.009, allocations: 0.9131 MB / 1.187 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/1.009, allocations: 4 kB / 1.187 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/1.009, allocations: 40 kB / 1.187 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.917e-05/1.009, allocations: 37.92 kB / 1.187 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/1.011, allocations: 0.8354 MB / 1.188 GB, free: 13.45 MB / 0.9512 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.00676/1.018, allocations: 3.524 MB / 1.191 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008556/1.019, allocations: 0.4886 MB / 1.192 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004925/1.019, allocations: 302 kB / 1.192 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/1.019, allocations: 101.5 kB / 1.192 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/1.019, allocations: 50.94 kB / 1.192 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 3.817e-06/1.019, allocations: 3.938 kB / 1.192 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=49): time 0.004013/1.023, allocations: 1.868 MB / 1.194 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/1.023, allocations: 55.84 kB / 1.194 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/1.025, allocations: 0.8136 MB / 1.195 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.573e-05/1.025, allocations: 41.64 kB / 1.195 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/1.025, allocations: 475.2 kB / 1.195 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/1.025, allocations: 177.5 kB / 1.195 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/1.025, allocations: 114.2 kB / 1.195 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.025, allocations: 334 kB / 1.196 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/1.026, allocations: 245.2 kB / 1.196 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005461/1.026, allocations: 376.7 kB / 1.196 GB, free: 4.078 MB / 0.9512 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.003699/1.03, allocations: 1.535 MB / 1.198 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.03, allocations: 0 / 1.198 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001407/1.032, allocations: 0.8 MB / 1.199 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/1.032, allocations: 8 kB / 1.199 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.032, allocations: 0 / 1.199 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/1.032, allocations: 69.67 kB / 1.199 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000685/1.033, allocations: 148.2 kB / 1.199 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/1.035, allocations: 2.888 MB / 1.202 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/1.036, allocations: 61.67 kB / 1.202 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.296e-05/1.036, allocations: 24 kB / 1.202 GB, free: 14.21 MB / 0.9669 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: 14 * 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006165/1.037, allocations: 309.1 kB / 1.202 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/1.037, allocations: 90.88 kB / 1.202 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/1.037, allocations: 100.7 kB / 1.202 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.037, allocations: 11.88 kB / 1.202 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/1.037, allocations: 4 kB / 1.202 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001071/1.039, allocations: 0.8271 MB / 1.203 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003481/1.042, allocations: 1.79 MB / 1.205 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/1.042, allocations: 4 kB / 1.205 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006157/1.043, allocations: 136.2 kB / 1.205 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001037/1.043, allocations: 32.84 kB / 1.205 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.505e-05/1.043, allocations: 19.98 kB / 1.205 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/1.044, allocations: 1.483 MB / 1.206 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.044, allocations: 4 kB / 1.206 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/1.046, allocations: 1.064 MB / 1.207 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004824/1.046, allocations: 239.8 kB / 1.208 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/1.046, allocations: 19.98 kB / 1.208 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008438/1.047, allocations: 64.47 kB / 1.208 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/1.047, allocations: 43.69 kB / 1.208 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.441e-05/1.047, allocations: 27.98 kB / 1.208 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007862/1.048, allocations: 0.5693 MB / 1.208 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.048, allocations: 3.938 kB / 1.208 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001033/1.049, allocations: 276 kB / 1.209 GB, free: 6.707 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (47): * Single equations (assignments): 46 * 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.0005134/1.05, allocations: 198.3 kB / 1.209 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001393/1.051, allocations: 0.789 MB / 1.21 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.051, allocations: 8.188 kB / 1.21 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000586/1.052, allocations: 398.9 kB / 1.21 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/1.055, allocations: 0.5823 MB / 1.211 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/1.058, allocations: 2.24 MB / 1.213 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007418/1.059, allocations: 1.088 MB / 1.214 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/1.059, allocations: 71.44 kB / 1.214 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of SimCode: time 8.71e-07/1.059, allocations: 0 / 1.214 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of Templates: time 0.03205/1.091, allocations: 21.93 MB / 1.235 GB, free: 11.41 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.Xi[1],volSte.Xi[1] Variables in the result:gain.y,time,volDyn.Xi[1],volDyn.ports[1].m_flow,volSte.Xi[1]