Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.001614/0.001614, allocations: 110 kB / 16.42 MB, free: 6.508 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.00202/0.00202, allocations: 187.9 kB / 17.34 MB, free: 5.738 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.517/1.517, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.613/2.613, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 60.12 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9674/0.9689, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.0219/0.9908, allocations: 20.75 MB / 1.229 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007255/0.9981, allocations: 4.936 MB / 1.233 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007062/0.9988, allocations: 23.88 kB / 1.234 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008854/0.9997, allocations: 270 kB / 1.234 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002315/1.002, allocations: 0.8238 MB / 1.235 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001908/1.004, allocations: 0.7191 MB / 1.235 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001861/1.006, allocations: 1.384 MB / 1.237 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007131/1.007, allocations: 440.2 kB / 1.237 GB, free: 188 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/1.008, allocations: 0.5759 MB / 1.238 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007767/1.009, allocations: 450.1 kB / 1.238 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001275/1.009, allocations: 36 kB / 1.238 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/1.01, allocations: 0.6355 MB / 1.239 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001748/1.01, allocations: 123.5 kB / 1.239 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003371/1.011, allocations: 286.5 kB / 1.239 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001512/1.012, allocations: 0.843 MB / 1.24 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.012, allocations: 0 / 1.24 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.994e-06/1.012, allocations: 0 / 1.24 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.2e-05/1.012, allocations: 4 kB / 1.24 GB, free: 13.24 MB / 0.9669 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.0017/1.014, allocations: 0.9225 MB / 1.241 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/1.014, allocations: 8.031 kB / 1.241 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/1.014, allocations: 64.19 kB / 1.241 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000792/1.015, allocations: 479.3 kB / 1.241 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/1.015, allocations: 32.66 kB / 1.241 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/1.015, allocations: 36 kB / 1.241 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/1.016, allocations: 306 kB / 1.242 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/1.016, allocations: 3.984 kB / 1.242 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/1.016, allocations: 12 kB / 1.242 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/1.016, allocations: 8 kB / 1.242 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006427/1.016, allocations: 266.4 kB / 1.242 GB, free: 11.04 MB / 0.9669 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.002197/1.019, allocations: 1.325 MB / 1.243 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/1.019, allocations: 262.4 kB / 1.244 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/1.019, allocations: 132.7 kB / 1.244 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004046/1.02, allocations: 0.4986 MB / 1.244 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/1.02, allocations: 42.56 kB / 1.244 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=25): time 2.024e-06/1.02, allocations: 0 / 1.244 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=25): time 0.001812/1.022, allocations: 0.5576 MB / 1.245 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/1.022, allocations: 55.41 kB / 1.245 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/1.022, allocations: 474.1 kB / 1.245 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/1.022, allocations: 29.7 kB / 1.245 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/1.023, allocations: 244.7 kB / 1.245 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.49e-05/1.023, allocations: 86.69 kB / 1.246 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/1.023, allocations: 85.36 kB / 1.246 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.023, allocations: 358.8 kB / 1.246 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/1.023, allocations: 120.8 kB / 1.246 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/1.024, allocations: 178.6 kB / 1.246 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006228/1.024, allocations: 274.4 kB / 1.247 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.024, allocations: 0 / 1.247 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001584/1.026, allocations: 0.4883 MB / 1.247 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.026, allocations: 4 kB / 1.247 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.026, allocations: 4 kB / 1.247 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003526/1.026, allocations: 56.84 kB / 1.247 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003569/1.027, allocations: 79.83 kB / 1.247 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000413/1.027, allocations: 0.5524 MB / 1.248 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/1.027, allocations: 51.69 kB / 1.248 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.607e-05/1.028, allocations: 15.98 kB / 1.248 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004365/1.028, allocations: 240.1 kB / 1.248 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003639/1.028, allocations: 181.4 kB / 1.248 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000594/1.029, allocations: 264.3 kB / 1.248 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/1.029, allocations: 0 / 1.248 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008126/1.03, allocations: 364.8 kB / 1.249 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.03, allocations: 10.03 kB / 1.249 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/1.03, allocations: 3.938 kB / 1.249 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-06/1.03, allocations: 4 kB / 1.249 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/1.03, allocations: 79.89 kB / 1.249 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/1.03, allocations: 7.938 kB / 1.249 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/1.031, allocations: 43.73 kB / 1.249 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/1.031, allocations: 19.98 kB / 1.249 GB, free: 3.496 MB / 0.9669 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.0001428/1.031, allocations: 200.1 kB / 1.249 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.003e-05/1.031, allocations: 47.44 kB / 1.249 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009621/1.032, allocations: 424.5 kB / 1.25 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/1.032, allocations: 3.984 kB / 1.25 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.032, allocations: 0 / 1.25 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/1.032, allocations: 152.4 kB / 1.25 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.183e-05/1.032, allocations: 3.984 kB / 1.25 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/1.032, allocations: 27.97 kB / 1.25 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/1.033, allocations: 19.97 kB / 1.25 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001041/1.034, allocations: 449.4 kB / 1.25 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001095/1.035, allocations: 0.6776 MB / 1.251 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003005/1.035, allocations: 139.9 kB / 1.251 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003399/1.035, allocations: 326.8 kB / 1.251 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of Backend: time 4.21e-07/1.035, allocations: 0 / 1.251 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001826/1.037, allocations: 0.6172 MB / 1.252 GB, free: 392 kB / 0.9669 GB Notification: Performance of SimCode: time 0.001993/1.039, allocations: 1.364 MB / 1.253 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of Templates: time 0.02008/1.059, allocations: 11.81 MB / 1.265 GB, free: 3.305 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_CheckValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches