Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 108.2 kB / 19.71 MB, free: 2.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002681/0.002681, allocations: 210.8 kB / 23 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.723/1.723, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.513/3.513, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 67.36 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4906/0.4927, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02678/0.5194, allocations: 19.42 MB / 1.346 GB, free: 13.51 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.009561/0.529, allocations: 4.808 MB / 1.351 GB, free: 8.691 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.53, allocations: 27.75 kB / 1.351 GB, free: 8.664 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.5311, allocations: 278 kB / 1.351 GB, free: 8.391 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003807/0.5349, allocations: 1.057 MB / 1.352 GB, free: 7.328 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.537, allocations: 0.6446 MB / 1.353 GB, free: 6.691 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002553/0.5395, allocations: 1.485 MB / 1.354 GB, free: 5.195 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008735/0.5404, allocations: 392.9 kB / 1.355 GB, free: 4.809 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001653/0.5421, allocations: 0.7316 MB / 1.355 GB, free: 4.074 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007934/0.5428, allocations: 0.5019 MB / 1.356 GB, free: 3.57 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.543, allocations: 55.94 kB / 1.356 GB, free: 3.516 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.5446, allocations: 0.5849 MB / 1.356 GB, free: 2.93 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.5449, allocations: 167.3 kB / 1.357 GB, free: 2.766 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003709/0.5452, allocations: 270.6 kB / 1.357 GB, free: 2.5 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.547, allocations: 0.9652 MB / 1.358 GB, free: 1.531 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.547, allocations: 0 / 1.358 GB, free: 1.531 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.096e-06/0.547, allocations: 0 / 1.358 GB, free: 1.531 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.5471, allocations: 3.938 kB / 1.358 GB, free: 1.527 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002473/0.5495, allocations: 0.9709 MB / 1.359 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.5496, allocations: 12.03 kB / 1.359 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.5498, allocations: 68.52 kB / 1.359 GB, free: 456 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.551, allocations: 0.5158 MB / 1.359 GB, free: 15.9 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.551, allocations: 24.5 kB / 1.359 GB, free: 15.88 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/0.5511, allocations: 35.98 kB / 1.359 GB, free: 15.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007852/0.5519, allocations: 321.7 kB / 1.36 GB, free: 15.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.5519, allocations: 4 kB / 1.36 GB, free: 15.51 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.5519, allocations: 12 kB / 1.36 GB, free: 15.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.552, allocations: 8 kB / 1.36 GB, free: 15.49 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000732/0.5527, allocations: 265.7 kB / 1.36 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.5553, allocations: 0.9445 MB / 1.361 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006472/0.5559, allocations: 234.5 kB / 1.361 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.5562, allocations: 124.8 kB / 1.361 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002272/0.5565, allocations: 47.97 kB / 1.361 GB, free: 13.85 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.308e-05/0.5565, allocations: 42.5 kB / 1.361 GB, free: 13.8 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 2.284e-06/0.5565, allocations: 0 / 1.361 GB, free: 13.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.001265/0.5578, allocations: 410.6 kB / 1.362 GB, free: 13.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.5578, allocations: 51.41 kB / 1.362 GB, free: 13.33 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.5589, allocations: 0.5887 MB / 1.362 GB, free: 12.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.862e-05/0.5589, allocations: 33.7 kB / 1.362 GB, free: 12.69 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.5592, allocations: 265 kB / 1.363 GB, free: 12.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.927e-05/0.5593, allocations: 67.44 kB / 1.363 GB, free: 12.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.5595, allocations: 126 kB / 1.363 GB, free: 12.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002459/0.5598, allocations: 362.7 kB / 1.363 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006006/0.5604, allocations: 202.5 kB / 1.363 GB, free: 11.67 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.5614, allocations: 0.5399 MB / 1.364 GB, free: 11.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009714/0.5624, allocations: 357.1 kB / 1.364 GB, free: 10.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5624, allocations: 0 / 1.364 GB, free: 10.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001782/0.5642, allocations: 0.5877 MB / 1.365 GB, free: 10.08 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.5642, allocations: 4 kB / 1.365 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.5642, allocations: 3.984 kB / 1.365 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002727/0.5645, allocations: 60.69 kB / 1.365 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/0.5651, allocations: 111.9 kB / 1.365 GB, free: 9.902 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005858/0.5657, allocations: 0.5602 MB / 1.365 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008875/0.5666, allocations: 79.92 kB / 1.365 GB, free: 9.238 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/0.5666, allocations: 19.98 kB / 1.366 GB, free: 9.219 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007965/0.5674, allocations: 320.9 kB / 1.366 GB, free: 8.898 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008321/0.5683, allocations: 0.536 MB / 1.366 GB, free: 8.277 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009742/0.5692, allocations: 349.5 kB / 1.367 GB, free: 7.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.5692, allocations: 4 kB / 1.367 GB, free: 7.926 MB / 1.061 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.001541/0.5708, allocations: 0.5401 MB / 1.367 GB, free: 7.379 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5708, allocations: 13.41 kB / 1.367 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.5708, allocations: 0 / 1.367 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.5708, allocations: 4 kB / 1.367 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/0.5714, allocations: 123.8 kB / 1.367 GB, free: 7.242 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.5715, allocations: 0 / 1.367 GB, free: 7.242 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009281/0.5724, allocations: 87.78 kB / 1.367 GB, free: 7.156 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.5724, allocations: 19.98 kB / 1.367 GB, free: 7.137 MB / 1.061 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 (50): * Single equations (assignments): 49 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002449/0.5727, allocations: 208.3 kB / 1.368 GB, free: 6.926 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.5728, allocations: 55.62 kB / 1.368 GB, free: 6.871 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.5739, allocations: 388.6 kB / 1.368 GB, free: 6.484 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5739, allocations: 0 / 1.368 GB, free: 6.484 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.5739, allocations: 0 / 1.368 GB, free: 6.484 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.5741, allocations: 87.59 kB / 1.368 GB, free: 6.398 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.916e-05/0.5742, allocations: 7.938 kB / 1.368 GB, free: 6.391 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.5746, allocations: 39.95 kB / 1.368 GB, free: 6.352 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.227e-05/0.5747, allocations: 19.91 kB / 1.368 GB, free: 6.332 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001302/0.576, allocations: 462.6 kB / 1.369 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001508/0.5775, allocations: 0.6832 MB / 1.369 GB, free: 5.172 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004541/0.578, allocations: 127.9 kB / 1.369 GB, free: 5.047 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007271/0.5787, allocations: 414.8 kB / 1.37 GB, free: 4.645 MB / 1.061 GB Notification: Performance of Backend: time 1.042e-06/0.5787, allocations: 0 / 1.37 GB, free: 4.645 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002835/0.5815, allocations: 0.7725 MB / 1.371 GB, free: 3.867 MB / 1.061 GB Notification: Performance of SimCode: time 0.00253/0.5841, allocations: 1.389 MB / 1.372 GB, free: 2.426 MB / 1.061 GB Notification: Performance of Templates: time 0.03138/0.6154, allocations: 15.56 MB / 1.387 GB, free: 3.125 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Examples_CheckValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.17433143100061]