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.001024/0.001024, allocations: 83.73 kB / 20.09 MB, free: 4.168 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.001814/0.001814, allocations: 156.9 kB / 23.51 MB, free: 0.75 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.986/0.986, allocations: 177.1 MB / 204 MB, free: 5.027 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.526/2.526, allocations: 439.8 MB / 0.6839 GB, free: 12.55 MB / 0.6511 GB " [Timeout remaining time 177] 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 3.036e-06/3.036e-06, allocations: 0 / 0.8403 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.276e-05/4.58e-05, allocations: 6.25 kB / 0.8403 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck): time 0.004272/0.004318, allocations: 1.504 MB / 0.8418 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.006399, allocations: 0.9653 MB / 0.8427 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.006465, allocations: 4 kB / 0.8427 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.544e-05/0.006501, allocations: 3.938 kB / 0.8427 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.722e-05/0.006598, allocations: 11.91 kB / 0.8427 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009907/0.007589, allocations: 262.8 kB / 0.843 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.007722, allocations: 47.8 kB / 0.843 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.189e-05/0.007794, allocations: 3.984 kB / 0.843 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.007908, allocations: 35.83 kB / 0.8431 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.978e-05/0.007988, allocations: 11.98 kB / 0.8431 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.00801, allocations: 4 kB / 0.8431 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000947/0.008957, allocations: 0.5109 MB / 0.8436 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.922e-05/0.008986, allocations: 7.984 kB / 0.8436 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.00902, allocations: 15.92 kB / 0.8436 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005556/0.009576, allocations: 339.1 kB / 0.8439 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.009581, allocations: 0 / 0.8439 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.344e-06/0.009583, allocations: 4 kB / 0.8439 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.009591, allocations: 0 / 0.8439 GB, free: 8.855 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.0005891/0.01018, allocations: 315.6 kB / 0.8442 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.01023, allocations: 8.031 kB / 0.8442 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.01028, allocations: 8.938 kB / 0.8442 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.01042, allocations: 121.6 kB / 0.8444 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.01044, allocations: 384 / 0.8444 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.01048, allocations: 4.375 kB / 0.8444 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.01061, allocations: 63.95 kB / 0.8444 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.01063, allocations: 4.172 kB / 0.8444 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.01064, allocations: 8.125 kB / 0.8444 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.01065, allocations: 0 / 0.8444 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.508e-05/0.01069, allocations: 4 kB / 0.8444 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.01084, allocations: 65.05 kB / 0.8445 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.0111, allocations: 38.55 kB / 0.8445 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.539e-05/0.01113, allocations: 16.84 kB / 0.8445 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.01116, allocations: 7.938 kB / 0.8446 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.0112, allocations: 34.64 kB / 0.8446 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 2.074e-06/0.0112, allocations: 0 / 0.8446 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0008579/0.01206, allocations: 245.4 kB / 0.8448 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.01211, allocations: 63.28 kB / 0.8449 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.01224, allocations: 126.6 kB / 0.845 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.01225, allocations: 29.7 kB / 0.845 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.0123, allocations: 84.12 kB / 0.8451 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.01233, allocations: 27.78 kB / 0.8451 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.01239, allocations: 29.69 kB / 0.8452 GB, free: 7.406 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.01252, allocations: 318.8 kB / 0.8455 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.768e-05/0.01256, allocations: 15.98 kB / 0.8455 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.859e-05/0.01259, allocations: 16 kB / 0.8455 GB, free: 7.055 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.654e-05/0.01267, allocations: 44.78 kB / 0.8455 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01267, allocations: 4 kB / 0.8455 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001365/0.01281, allocations: 76.34 kB / 0.8456 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.01283, allocations: 7.938 kB / 0.8456 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.01284, allocations: 0 / 0.8456 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.01286, allocations: 4 kB / 0.8456 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.261e-05/0.01293, allocations: 12 kB / 0.8456 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.01294, allocations: 3.938 kB / 0.8456 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.447e-05/0.01296, allocations: 0 / 0.8456 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.01297, allocations: 4 kB / 0.8457 GB, free: 6.895 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 9.547e-05/0.01307, allocations: 121.8 kB / 0.8458 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.01308, allocations: 0 / 0.8458 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.01324, allocations: 70.05 kB / 0.8458 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.01324, allocations: 0 / 0.8458 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01325, allocations: 3.938 kB / 0.8458 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.01325, allocations: 0 / 0.8458 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.01358, allocations: 207.7 kB / 0.846 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.01358, allocations: 4 kB / 0.846 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.23e-05/0.01366, allocations: 20.11 kB / 0.8461 GB, free: 6.434 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01367, allocations: 0 / 0.8461 GB, free: 6.434 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.01368, allocations: 8.031 kB / 0.8461 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.01368, allocations: 3.938 kB / 0.8461 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.01368, allocations: 0 / 0.8461 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.01388, allocations: 168.3 kB / 0.8462 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.01391, allocations: 7.984 kB / 0.8462 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.01393, allocations: 4 kB / 0.8462 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.01399, allocations: 7.922 kB / 0.8463 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.01402, allocations: 3.938 kB / 0.8463 GB, free: 6.215 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.01403, allocations: 4 kB / 0.8463 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.617e-05/0.01406, allocations: 27.34 kB / 0.8463 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.01406, allocations: 4.031 kB / 0.8463 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003399/0.0144, allocations: 79.61 kB / 0.8464 GB, free: 6.102 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003617/0.01476, allocations: 168 kB / 0.8465 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001598/0.01492, allocations: 66.53 kB / 0.8466 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.01493, allocations: 7.938 kB / 0.8466 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.975e-05/0.01496, allocations: 20.84 kB / 0.8466 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.0152, allocations: 7.938 kB / 0.8466 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000708/0.01591, allocations: 209.7 kB / 0.8468 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.022e-05/0.01597, allocations: 63.34 kB / 0.8469 GB, free: 5.5 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.75e-05/0.01602, allocations: 15.98 kB / 0.8469 GB, free: 5.484 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.61e-05/0.01609, allocations: 59.36 kB / 0.847 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of SimCode: time 7.72e-07/0.0161, allocations: 0 / 0.847 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of Templates: time 0.005953/0.02205, allocations: 2.31 MB / 0.8492 GB, free: 3.168 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: 5.8855028841644526]