Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.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.0008614/0.0008614, allocations: 79.75 kB / 20.89 MB, free: 3.395 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.006334/0.006334, allocations: 153.4 kB / 24.31 MB, free: 8.48 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.8635/0.8635, allocations: 177.1 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.267/2.267, allocations: 439.8 MB / 0.6846 GB, free: 12.51 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 0.8411 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176e-05/1.296e-05, allocations: 5.547 kB / 0.8411 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck): time 0.002208/0.002221, allocations: 1.482 MB / 0.8425 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.003521, allocations: 0.9847 MB / 0.8435 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.017e-05/0.003561, allocations: 0 / 0.8435 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.003581, allocations: 3.938 kB / 0.8435 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.784e-05/0.003629, allocations: 3.938 kB / 0.8435 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.004283, allocations: 266.8 kB / 0.8437 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.979e-05/0.004363, allocations: 47.72 kB / 0.8438 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.037e-05/0.004393, allocations: 7.984 kB / 0.8438 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.417e-05/0.004457, allocations: 27.92 kB / 0.8438 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.675e-05/0.004504, allocations: 15.98 kB / 0.8438 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.004517, allocations: 4 kB / 0.8438 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007256/0.005243, allocations: 0.5147 MB / 0.8443 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.005259, allocations: 4 kB / 0.8443 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.005282, allocations: 19.92 kB / 0.8444 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004153/0.005697, allocations: 331.1 kB / 0.8447 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.005699, allocations: 0 / 0.8447 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.82e-07/0.0057, allocations: 0 / 0.8447 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.005704, allocations: 0 / 0.8447 GB, free: 8.832 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004804/0.006185, allocations: 323.6 kB / 0.845 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.006222, allocations: 12.03 kB / 0.845 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.449e-05/0.006246, allocations: 8.859 kB / 0.845 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.25e-05/0.006329, allocations: 116.8 kB / 0.8451 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.006338, allocations: 4.375 kB / 0.8451 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.006358, allocations: 4.375 kB / 0.8451 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.637e-05/0.006435, allocations: 63.95 kB / 0.8452 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.006441, allocations: 192 / 0.8452 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.006449, allocations: 4.125 kB / 0.8452 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.006453, allocations: 0 / 0.8452 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.365e-05/0.006477, allocations: 7.984 kB / 0.8452 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.423e-05/0.006571, allocations: 81.02 kB / 0.8453 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.006706, allocations: 34.55 kB / 0.8453 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.407e-05/0.00673, allocations: 12.86 kB / 0.8453 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.006741, allocations: 0 / 0.8453 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.006763, allocations: 34.56 kB / 0.8454 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.006763, allocations: 0 / 0.8454 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0005107/0.007274, allocations: 241.2 kB / 0.8456 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.007295, allocations: 59.34 kB / 0.8456 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.638e-05/0.007371, allocations: 142.5 kB / 0.8458 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.007385, allocations: 29.7 kB / 0.8458 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.007413, allocations: 88.12 kB / 0.8459 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.007436, allocations: 19.78 kB / 0.8459 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.007477, allocations: 33.69 kB / 0.8459 GB, free: 7.371 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.007555, allocations: 314.8 kB / 0.8462 GB, free: 7.055 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/0.007576, allocations: 12 kB / 0.8463 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.393e-05/0.0076, allocations: 19.98 kB / 0.8463 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.001e-05/0.00766, allocations: 51.86 kB / 0.8463 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.007661, allocations: 0 / 0.8463 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000101/0.007762, allocations: 81.62 kB / 0.8464 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.007772, allocations: 8 kB / 0.8464 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.007783, allocations: 3.984 kB / 0.8464 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.007791, allocations: 0 / 0.8464 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.944e-05/0.00784, allocations: 12 kB / 0.8464 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.007847, allocations: 3.938 kB / 0.8464 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.953e-05/0.007867, allocations: 4 kB / 0.8464 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.007872, allocations: 0 / 0.8464 GB, free: 6.855 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 (8): * Single equations (assignments): 7 * 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 5.472e-05/0.007927, allocations: 109.8 kB / 0.8465 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.007939, allocations: 7.984 kB / 0.8465 GB, free: 6.73 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.671e-05/0.008036, allocations: 70 kB / 0.8466 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.00804, allocations: 3.984 kB / 0.8466 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.008041, allocations: 0 / 0.8466 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.008072, allocations: 15.89 kB / 0.8466 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.008084, allocations: 0 / 0.8466 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.383e-05/0.008108, allocations: 0 / 0.8466 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.008121, allocations: 7.984 kB / 0.8466 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.415e-05/0.008216, allocations: 125 kB / 0.8468 GB, free: 6.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001445/0.00836, allocations: 234.7 kB / 0.847 GB, free: 6.254 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.603e-05/0.008386, allocations: 17.09 kB / 0.847 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.021e-05/0.008406, allocations: 20.88 kB / 0.847 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of Backend: time 2.61e-07/0.008407, allocations: 4 kB / 0.847 GB, free: 6.207 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004785/0.008885, allocations: 245.5 kB / 0.8473 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of SimCode: time 0.0006674/0.009553, allocations: 0.6849 MB / 0.8479 GB, free: 5.219 MB / 0.8073 GB Notification: Performance of Templates: time 0.005491/0.01504, allocations: 2.944 MB / 0.8508 GB, free: 2.328 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_inv_DerivativeCheck.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.803712707944214]