Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.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.0008964/0.0008964, 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.003174/0.003174, allocations: 154.7 kB / 24.31 MB, free: 8.527 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.8688/0.8688, allocations: 177.1 MB / 204.8 MB, free: 4.996 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.169/2.169, allocations: 439.8 MB / 0.6846 GB, free: 12.5 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.InvertingPowerLaw_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.8411 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.939e-06/1.106e-05, allocations: 2.312 kB / 0.8411 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv): time 0.001616/0.001627, allocations: 1.477 MB / 0.8425 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008907/0.002518, allocations: 0.9537 MB / 0.8434 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/0.002549, allocations: 0 / 0.8434 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.002565, allocations: 11.92 kB / 0.8435 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.61e-05/0.002631, allocations: 15.86 kB / 0.8435 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004278/0.003059, allocations: 246.9 kB / 0.8437 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.659e-05/0.003116, allocations: 39.86 kB / 0.8437 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.61e-05/0.003142, allocations: 3.938 kB / 0.8437 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.003181, allocations: 23.92 kB / 0.8438 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.406e-05/0.003215, allocations: 11.98 kB / 0.8438 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.003225, allocations: 4 kB / 0.8438 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005138/0.003739, allocations: 0.5108 MB / 0.8443 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.003755, allocations: 7.984 kB / 0.8443 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.626e-05/0.003771, allocations: 11.94 kB / 0.8443 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.004068, allocations: 327.2 kB / 0.8446 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.00407, allocations: 0 / 0.8446 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.81e-07/0.00407, allocations: 4 kB / 0.8446 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.004073, allocations: 0 / 0.8446 GB, free: 8.902 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002556/0.004329, allocations: 311.6 kB / 0.8449 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.00436, allocations: 8.031 kB / 0.8449 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.993e-05/0.00438, allocations: 8.922 kB / 0.8449 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.941e-05/0.00445, allocations: 121.6 kB / 0.845 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.004457, allocations: 384 / 0.845 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-06/0.004462, allocations: 384 / 0.845 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.703e-05/0.004509, allocations: 34.27 kB / 0.8451 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.341e-06/0.004516, allocations: 192 / 0.8451 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-06/0.004521, allocations: 4.125 kB / 0.8451 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.004525, allocations: 4 kB / 0.8451 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.624e-05/0.004541, allocations: 7.984 kB / 0.8451 GB, free: 8.359 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.056e-05/0.004602, allocations: 57.05 kB / 0.8451 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.291e-05/0.004635, allocations: 22.55 kB / 0.8452 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.065e-05/0.004645, allocations: 8.922 kB / 0.8452 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.004655, allocations: 0 / 0.8452 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.004674, allocations: 30.56 kB / 0.8452 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 5.41e-07/0.004675, allocations: 0 / 0.8452 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 7.435e-05/0.004749, allocations: 45.7 kB / 0.8452 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.864e-05/0.004768, allocations: 59.44 kB / 0.8453 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.252e-05/0.00483, allocations: 130.6 kB / 0.8454 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.004838, allocations: 25.7 kB / 0.8455 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.558e-05/0.004863, allocations: 100 kB / 0.8456 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.004875, allocations: 3.953 kB / 0.8456 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.004901, allocations: 25.69 kB / 0.8456 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.454e-05/0.004965, allocations: 322.8 kB / 0.8459 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.004977, allocations: 8 kB / 0.8459 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-06/0.004986, allocations: 8 kB / 0.8459 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.975e-05/0.005016, allocations: 24.78 kB / 0.8459 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.005017, allocations: 8 kB / 0.8459 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 4.931e-05/0.005066, allocations: 53.69 kB / 0.846 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.005076, allocations: 4 kB / 0.846 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.005086, allocations: 0 / 0.846 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-06/0.005092, allocations: 0 / 0.846 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.0052, allocations: 23.91 kB / 0.846 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002136/0.005414, allocations: 0.5899 MB / 0.8466 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.511e-05/0.005429, allocations: 7.891 kB / 0.8466 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.005433, allocations: 4 kB / 0.8466 GB, free: 6.691 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.027e-05/0.005483, allocations: 117.8 kB / 0.8467 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-06/0.005489, allocations: 7.984 kB / 0.8467 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.315e-05/0.005543, allocations: 41.2 kB / 0.8468 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.005548, allocations: 7.984 kB / 0.8468 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.005548, allocations: 0 / 0.8468 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-06/0.005555, allocations: 0 / 0.8468 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.823e-06/0.005562, allocations: 0 / 0.8468 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-06/0.00557, allocations: 4 kB / 0.8468 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-06/0.005578, allocations: 4 kB / 0.8468 GB, free: 6.5 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.527e-05/0.005663, allocations: 133.8 kB / 0.8469 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.331e-05/0.005736, allocations: 214.7 kB / 0.8471 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.542e-05/0.005752, allocations: 12.86 kB / 0.8471 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.542e-05/0.005767, allocations: 19.47 kB / 0.8471 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of Backend: time 4.21e-07/0.005768, allocations: 0 / 0.8471 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003567/0.006124, allocations: 231.8 kB / 0.8474 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of SimCode: time 0.0003646/0.006489, allocations: 0.6341 MB / 0.848 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of Templates: time 0.003421/0.00991, allocations: 2.729 MB / 0.8506 GB, free: 2.465 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp_inv.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.731089542619884]