Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0009868/0.0009868, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.007821/0.007821, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.584/1.584, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.78/2.78, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.00036, allocations: 15.41 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3566, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.9137/1.27, allocations: 216 MB / 1.27 GB, free: 17.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01168/1.282, allocations: 5.737 MB / 1.275 GB, free: 17.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002112/1.284, allocations: 32.78 kB / 1.275 GB, free: 17.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002354/1.287, allocations: 0.4984 MB / 1.276 GB, free: 17.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006383/1.293, allocations: 1.745 MB / 1.277 GB, free: 17.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004001/1.297, allocations: 1.083 MB / 1.278 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007417/1.304, allocations: 4.096 MB / 1.282 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002013/1.307, allocations: 0.853 MB / 1.283 GB, free: 17.2 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002723/1.309, allocations: 0.8858 MB / 1.284 GB, free: 17.19 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003356/1.313, allocations: 0.9309 MB / 1.285 GB, free: 17.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002378/1.313, allocations: 45 kB / 1.285 GB, free: 17.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003964/1.317, allocations: 1.621 MB / 1.287 GB, free: 17.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000648/1.318, allocations: 391.9 kB / 1.287 GB, free: 17.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001016/1.319, allocations: 0.5923 MB / 1.288 GB, free: 17.12 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003883/1.322, allocations: 2.127 MB / 1.29 GB, free: 17.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.322, allocations: 0 / 1.29 GB, free: 17.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.355e-06/1.322, allocations: 1.156 kB / 1.29 GB, free: 17.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.592e-05/1.322, allocations: 0 / 1.29 GB, free: 17.02 MB / 0.9981 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.002382/1.325, allocations: 1.278 MB / 1.291 GB, free: 16.26 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/1.325, allocations: 9.75 kB / 1.291 GB, free: 16.26 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/1.327, allocations: 317.5 kB / 1.291 GB, free: 16.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/1.328, allocations: 0.8182 MB / 1.292 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.754e-05/1.328, allocations: 67.75 kB / 1.292 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/1.328, allocations: 87.91 kB / 1.292 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/1.33, allocations: 0.9301 MB / 1.293 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/1.33, allocations: 0 / 1.293 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.533e-05/1.33, allocations: 36.41 kB / 1.293 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.192e-05/1.33, allocations: 34.06 kB / 1.293 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/1.332, allocations: 0.851 MB / 1.294 GB, free: 15.79 MB / 0.9981 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.005165/1.337, allocations: 3.539 MB / 1.297 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008631/1.338, allocations: 0.4992 MB / 1.298 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004819/1.338, allocations: 306.8 kB / 1.298 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/1.339, allocations: 104 kB / 1.298 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/1.339, allocations: 39.25 kB / 1.298 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.645e-06/1.339, allocations: 0.9375 kB / 1.298 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49): time 0.00377/1.342, allocations: 1.902 MB / 1.3 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/1.343, allocations: 61.25 kB / 1.3 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/1.344, allocations: 0.8082 MB / 1.301 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.695e-05/1.344, allocations: 41.8 kB / 1.301 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/1.344, allocations: 470.5 kB / 1.302 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/1.344, allocations: 172.8 kB / 1.302 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.948e-05/1.344, allocations: 55.44 kB / 1.302 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.935e-05/1.344, allocations: 328.8 kB / 1.302 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004752/1.345, allocations: 251.5 kB / 1.302 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005633/1.345, allocations: 392.1 kB / 1.303 GB, free: 12.59 MB / 0.9981 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.003707/1.349, allocations: 1.564 MB / 1.304 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/1.349, allocations: 5.938 kB / 1.304 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001395/1.351, allocations: 0.8047 MB / 1.305 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/1.351, allocations: 12.22 kB / 1.305 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.351, allocations: 6.719 kB / 1.305 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/1.351, allocations: 63.48 kB / 1.305 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007023/1.352, allocations: 164.7 kB / 1.305 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/1.353, allocations: 2.893 MB / 1.308 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/1.355, allocations: 65.61 kB / 1.308 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-05/1.355, allocations: 27.59 kB / 1.308 GB, free: 9.66 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0008196/1.356, allocations: 306.7 kB / 1.308 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/1.356, allocations: 91.28 kB / 1.309 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/1.356, allocations: 101.2 kB / 1.309 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.356, allocations: 6.062 kB / 1.309 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/1.356, allocations: 3.938 kB / 1.309 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001083/1.357, allocations: 0.8487 MB / 1.31 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003393/1.361, allocations: 1.808 MB / 1.311 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.361, allocations: 3.812 kB / 1.311 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006339/1.361, allocations: 146.3 kB / 1.311 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/1.361, allocations: 38.72 kB / 1.311 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/1.361, allocations: 14.38 kB / 1.311 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009053/1.362, allocations: 1.473 MB / 1.313 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.362, allocations: 7.609 kB / 1.313 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/1.364, allocations: 1.088 MB / 1.314 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004965/1.364, allocations: 241.5 kB / 1.314 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/1.365, allocations: 15.38 kB / 1.314 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007907/1.365, allocations: 67.73 kB / 1.314 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/1.365, allocations: 43.59 kB / 1.314 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-05/1.365, allocations: 27.81 kB / 1.314 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006735/1.366, allocations: 0.5635 MB / 1.315 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.366, allocations: 4 kB / 1.315 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009932/1.367, allocations: 276.8 kB / 1.315 GB, free: 6.734 MB / 0.9981 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.0004237/1.368, allocations: 191.3 kB / 1.315 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001207/1.369, allocations: 0.807 MB / 1.316 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.369, allocations: 3.938 kB / 1.316 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005155/1.369, allocations: 410 kB / 1.317 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/1.372, allocations: 0.5726 MB / 1.317 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/1.375, allocations: 2.247 MB / 1.319 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/1.376, allocations: 1.088 MB / 1.32 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008989/1.377, allocations: 221.4 kB / 1.321 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/1.377, allocations: 65 kB / 1.321 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of SimCode: time 2.165e-06/1.377, allocations: 0 / 1.321 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of Templates: time 0.02911/1.406, allocations: 18.99 MB / 1.339 GB, free: 14.68 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches