Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.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.001144/0.001144, allocations: 79.75 kB / 20.89 MB, free: 3.391 MB / 18.57 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.004201/0.004201, allocations: 154 kB / 24.31 MB, free: 8.539 MB / 18.57 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 0.8903/0.8903, allocations: 177.2 MB / 204.8 MB, free: 5.379 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.198/2.198, allocations: 439.8 MB / 0.6846 GB, free: 12.54 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0.8411 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.849e-06/1.092e-05, allocations: 2.312 kB / 0.8411 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2): time 0.001567/0.001578, allocations: 1.501 MB / 0.8425 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009448/0.002523, allocations: 0.9771 MB / 0.8435 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.002552, allocations: 4 kB / 0.8435 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.002568, allocations: 7.922 kB / 0.8435 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.055e-05/0.002609, allocations: 11.88 kB / 0.8435 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.003043, allocations: 262.8 kB / 0.8438 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.403e-05/0.003107, allocations: 55.73 kB / 0.8438 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.561e-05/0.003132, allocations: 7.984 kB / 0.8438 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.581e-05/0.003178, allocations: 35.95 kB / 0.8439 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.003226, allocations: 15.92 kB / 0.8439 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.003237, allocations: 4 kB / 0.8439 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004944/0.003731, allocations: 0.5109 MB / 0.8444 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.003748, allocations: 15.92 kB / 0.8444 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.003766, allocations: 15.98 kB / 0.8444 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.004064, allocations: 339 kB / 0.8447 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.004066, allocations: 0 / 0.8447 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.31e-07/0.004066, allocations: 0 / 0.8447 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.004069, allocations: 11.94 kB / 0.8448 GB, free: 8.801 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002629/0.004332, allocations: 335.9 kB / 0.8451 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.004359, allocations: 8.031 kB / 0.8451 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.156e-05/0.004381, allocations: 4.938 kB / 0.8451 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.593e-05/0.004447, allocations: 117.7 kB / 0.8452 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-06/0.004454, allocations: 384 / 0.8452 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.004474, allocations: 12.38 kB / 0.8452 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.327e-05/0.004547, allocations: 97.58 kB / 0.8453 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.004554, allocations: 192 / 0.8453 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.004562, allocations: 8.125 kB / 0.8453 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.004565, allocations: 4 kB / 0.8453 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.451e-05/0.00459, allocations: 11.98 kB / 0.8453 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.946e-05/0.004669, allocations: 76.94 kB / 0.8454 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.624e-05/0.004736, allocations: 42.62 kB / 0.8454 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/0.004755, allocations: 20.86 kB / 0.8455 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.004765, allocations: 3.938 kB / 0.8455 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.004783, allocations: 38.55 kB / 0.8455 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 6.51e-07/0.004784, allocations: 0 / 0.8455 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0007056/0.00549, allocations: 471.4 kB / 0.8459 GB, free: 7.418 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.635e-05/0.005506, allocations: 51.41 kB / 0.846 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.974e-05/0.005566, allocations: 134.6 kB / 0.8461 GB, free: 7.211 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.005577, allocations: 25.7 kB / 0.8461 GB, free: 7.18 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.211e-05/0.005599, allocations: 88.34 kB / 0.8462 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.005625, allocations: 47.62 kB / 0.8463 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.005659, allocations: 41.69 kB / 0.8463 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.21e-05/0.005721, allocations: 322.8 kB / 0.8466 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.005743, allocations: 20 kB / 0.8466 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.462e-05/0.005768, allocations: 23.98 kB / 0.8467 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.052e-05/0.005828, allocations: 71 kB / 0.8467 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.005829, allocations: 0 / 0.8467 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 8.646e-05/0.005915, allocations: 98.17 kB / 0.8468 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.005925, allocations: 8 kB / 0.8468 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.005934, allocations: 0 / 0.8468 GB, free: 6.445 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/0.00594, allocations: 3.938 kB / 0.8468 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.467e-05/0.006005, allocations: 31.92 kB / 0.8469 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.00601, allocations: 4 kB / 0.8469 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.529e-05/0.006025, allocations: 4 kB / 0.8469 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.006031, allocations: 3.938 kB / 0.8469 GB, free: 6.398 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.614e-05/0.006077, allocations: 113.8 kB / 0.847 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.006089, allocations: 7.984 kB / 0.847 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.006204, allocations: 93.97 kB / 0.8471 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.006206, allocations: 0 / 0.8471 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.006207, allocations: 0 / 0.8471 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.006214, allocations: 7.953 kB / 0.8471 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.006225, allocations: 7.938 kB / 0.8471 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.287e-05/0.006248, allocations: 0 / 0.8471 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.00626, allocations: 11.98 kB / 0.8471 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000101/0.006361, allocations: 149.5 kB / 0.8473 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001372/0.006498, allocations: 266.8 kB / 0.8475 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.914e-05/0.006527, allocations: 28.78 kB / 0.8475 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.269e-05/0.00654, allocations: 16.84 kB / 0.8476 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of Backend: time 2.1e-07/0.00654, allocations: 0 / 0.8476 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004593/0.007, allocations: 272.5 kB / 0.8478 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of SimCode: time 0.000532/0.007532, allocations: 0.7201 MB / 0.8485 GB, free: 4.625 MB / 0.8073 GB Notification: Performance of Templates: time 0.004008/0.01154, allocations: 3.332 MB / 0.8518 GB, free: 1.352 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_inv_DerivativeCheck2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.776382959447801]