Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow|checkValve.k|checkValveDpFix.k|checkValve_m_flow.k",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow|checkValve.k|checkValveDpFix.k|checkValve_m_flow.k",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 118.8 kB / 16.81 MB, free: 5.754 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.001266/0.001266, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.544/1.544, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.932/2.932, allocations: 476.7 MB / 0.7556 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 68.3 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4006, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02571/0.4263, allocations: 20.89 MB / 1.282 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008443/0.4347, allocations: 4.96 MB / 1.287 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009886/0.4357, allocations: 19.88 kB / 1.287 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.4367, allocations: 282 kB / 1.288 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002748/0.4395, allocations: 0.8551 MB / 1.288 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.4417, allocations: 0.7124 MB / 1.289 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002507/0.4443, allocations: 1.399 MB / 1.29 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007454/0.445, allocations: 388.4 kB / 1.291 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.4464, allocations: 0.5798 MB / 1.291 GB, free: 14.78 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008797/0.4473, allocations: 470 kB / 1.292 GB, free: 14.32 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.328e-05/0.4474, allocations: 36 kB / 1.292 GB, free: 14.28 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.449, allocations: 0.6394 MB / 1.293 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.4492, allocations: 131.4 kB / 1.293 GB, free: 13.51 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004555/0.4497, allocations: 290.5 kB / 1.293 GB, free: 13.23 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.4514, allocations: 0.8444 MB / 1.294 GB, free: 12.38 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4515, allocations: 4 kB / 1.294 GB, free: 12.38 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4515, allocations: 0 / 1.294 GB, free: 12.38 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.4515, allocations: 0 / 1.294 GB, free: 12.38 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001832/0.4533, allocations: 0.9452 MB / 1.295 GB, free: 11.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.4533, allocations: 8.031 kB / 1.295 GB, free: 11.37 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.4535, allocations: 72.52 kB / 1.295 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008979/0.4544, allocations: 479.8 kB / 1.295 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.4544, allocations: 28.66 kB / 1.295 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.152e-05/0.4545, allocations: 36 kB / 1.295 GB, free: 10.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007435/0.4552, allocations: 309.9 kB / 1.296 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.4553, allocations: 0 / 1.296 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.03e-05/0.4553, allocations: 12 kB / 1.296 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.4553, allocations: 8 kB / 1.296 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007471/0.456, allocations: 266.4 kB / 1.296 GB, free: 10.14 MB / 1.014 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.002485/0.4585, allocations: 1.342 MB / 1.297 GB, free: 8.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/0.4591, allocations: 250.4 kB / 1.297 GB, free: 8.426 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/0.4594, allocations: 124.8 kB / 1.298 GB, free: 8.301 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005008/0.4599, allocations: 0.4947 MB / 1.298 GB, free: 7.695 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.4599, allocations: 34.56 kB / 1.298 GB, free: 7.652 MB / 1.014 GB Notification: Performance of pre-optimization done (n=25): time 2.325e-06/0.46, allocations: 0 / 1.298 GB, free: 7.652 MB / 1.014 GB Notification: Performance of matching and sorting (n=25): time 0.002044/0.462, allocations: 0.5558 MB / 1.299 GB, free: 7.07 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.462, allocations: 59.41 kB / 1.299 GB, free: 7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006347/0.4627, allocations: 466.1 kB / 1.299 GB, free: 6.535 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.4627, allocations: 37.86 kB / 1.299 GB, free: 6.492 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.463, allocations: 248.6 kB / 1.299 GB, free: 6.246 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.4631, allocations: 91.2 kB / 1.299 GB, free: 6.156 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.4632, allocations: 77.39 kB / 1.3 GB, free: 6.074 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002271/0.4634, allocations: 358.8 kB / 1.3 GB, free: 5.715 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.4638, allocations: 124.8 kB / 1.3 GB, free: 5.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.4642, allocations: 185 kB / 1.3 GB, free: 5.391 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007027/0.4649, allocations: 265 kB / 1.3 GB, free: 5.125 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4649, allocations: 0 / 1.3 GB, free: 5.125 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001774/0.4667, allocations: 493.8 kB / 1.301 GB, free: 4.633 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.4667, allocations: 4 kB / 1.301 GB, free: 4.629 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4667, allocations: 4 kB / 1.301 GB, free: 4.625 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003923/0.4671, allocations: 68.84 kB / 1.301 GB, free: 4.555 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/0.4674, allocations: 67.89 kB / 1.301 GB, free: 4.488 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005348/0.468, allocations: 0.5641 MB / 1.302 GB, free: 3.898 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/0.4684, allocations: 51.67 kB / 1.302 GB, free: 3.848 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.4685, allocations: 20.06 kB / 1.302 GB, free: 3.828 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004702/0.469, allocations: 240 kB / 1.302 GB, free: 3.59 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003846/0.4693, allocations: 179 kB / 1.302 GB, free: 3.398 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006171/0.47, allocations: 260.7 kB / 1.302 GB, free: 3.137 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.47, allocations: 0 / 1.302 GB, free: 3.137 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008564/0.4708, allocations: 367.5 kB / 1.303 GB, free: 2.773 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.4708, allocations: 11.94 kB / 1.303 GB, free: 2.762 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-06/0.4708, allocations: 4 kB / 1.303 GB, free: 2.758 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.426e-06/0.4708, allocations: 0 / 1.303 GB, free: 2.758 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.4713, allocations: 83.88 kB / 1.303 GB, free: 2.676 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.4713, allocations: 11.94 kB / 1.303 GB, free: 2.664 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/0.4717, allocations: 43.8 kB / 1.303 GB, free: 2.621 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.4717, allocations: 16 kB / 1.303 GB, free: 2.605 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001945/0.4719, allocations: 196.2 kB / 1.303 GB, free: 2.406 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.472, allocations: 55.66 kB / 1.303 GB, free: 2.352 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.4731, allocations: 428.5 kB / 1.303 GB, free: 1.91 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4732, allocations: 0 / 1.303 GB, free: 1.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4732, allocations: 0 / 1.303 GB, free: 1.91 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.4734, allocations: 156.7 kB / 1.304 GB, free: 1.738 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/0.4735, allocations: 4 kB / 1.304 GB, free: 1.734 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.4738, allocations: 27.97 kB / 1.304 GB, free: 1.707 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.4739, allocations: 23.89 kB / 1.304 GB, free: 1.684 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001071/0.4749, allocations: 441.5 kB / 1.304 GB, free: 1.242 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001222/0.4761, allocations: 0.6862 MB / 1.305 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003086/0.4765, allocations: 132.5 kB / 1.305 GB, free: 420 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004748/0.4769, allocations: 326.9 kB / 1.305 GB, free: 96 kB / 1.014 GB Notification: Performance of Backend: time 4.51e-07/0.4769, allocations: 0 / 1.305 GB, free: 96 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002097/0.479, allocations: 0.5859 MB / 1.306 GB, free: 15.51 MB / 1.029 GB Notification: Performance of SimCode: time 0.002267/0.4813, allocations: 1.388 MB / 1.307 GB, free: 14.07 MB / 1.029 GB Notification: Performance of Templates: time 0.02295/0.5042, allocations: 11.77 MB / 1.319 GB, free: 2.449 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_CheckValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches