Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_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.0008677/0.0008677, 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.003104/0.003104, allocations: 155.7 kB / 24.31 MB, free: 8.496 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.8512/0.8512, allocations: 177.1 MB / 204.8 MB, free: 5.418 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.285/2.285, allocations: 439.8 MB / 0.6846 GB, free: 12.52 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_m_flow_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_m_flow_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_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_m_flow_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 0.8411 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.556e-06/9.779e-06, allocations: 6.312 kB / 0.8411 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv): time 0.001519/0.001528, allocations: 1.481 MB / 0.8425 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008796/0.002408, allocations: 0.9342 MB / 0.8434 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.672e-05/0.002435, allocations: 0 / 0.8434 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.00245, allocations: 7.922 kB / 0.8434 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.962e-05/0.00251, allocations: 15.86 kB / 0.8434 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003845/0.002895, allocations: 254.8 kB / 0.8437 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.518e-05/0.00295, allocations: 43.78 kB / 0.8437 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.517e-05/0.002975, allocations: 0 / 0.8437 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.696e-05/0.003012, allocations: 19.98 kB / 0.8437 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.234e-05/0.003044, allocations: 11.92 kB / 0.8438 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.003054, allocations: 8 kB / 0.8438 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004937/0.003548, allocations: 0.507 MB / 0.8443 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.003564, allocations: 15.92 kB / 0.8443 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.513e-05/0.003579, allocations: 7.984 kB / 0.8443 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.00387, allocations: 335 kB / 0.8446 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003872, allocations: 0 / 0.8446 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.11e-07/0.003872, allocations: 0 / 0.8446 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.055e-06/0.003875, allocations: 3.938 kB / 0.8446 GB, free: 8.93 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.000247/0.004122, allocations: 319.6 kB / 0.8449 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.00415, allocations: 12.02 kB / 0.8449 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.691e-05/0.004167, allocations: 8.938 kB / 0.8449 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.923e-05/0.004237, allocations: 109.8 kB / 0.845 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.004244, allocations: 4.359 kB / 0.845 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-06/0.004249, allocations: 384 / 0.845 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.684e-05/0.004296, allocations: 34.25 kB / 0.8451 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.004303, allocations: 192 / 0.8451 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.004308, allocations: 4.125 kB / 0.8451 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.004312, allocations: 0 / 0.8451 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.172e-05/0.004324, allocations: 4 kB / 0.8451 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.857e-05/0.004382, allocations: 65.03 kB / 0.8451 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.004e-05/0.004412, allocations: 30.48 kB / 0.8452 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.222e-05/0.004425, allocations: 12.92 kB / 0.8452 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.004434, allocations: 0 / 0.8452 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.004451, allocations: 30.56 kB / 0.8452 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 5.71e-07/0.004451, allocations: 0 / 0.8452 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 7.05e-05/0.004522, allocations: 41.62 kB / 0.8453 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.974e-05/0.004542, allocations: 51.41 kB / 0.8453 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.379e-05/0.004605, allocations: 137.3 kB / 0.8454 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.884e-06/0.004613, allocations: 25.7 kB / 0.8455 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.364e-05/0.004637, allocations: 92.08 kB / 0.8455 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.062e-05/0.004647, allocations: 8.078 kB / 0.8456 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.004673, allocations: 25.69 kB / 0.8456 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.831e-05/0.004731, allocations: 314.8 kB / 0.8459 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.004741, allocations: 8 kB / 0.8459 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/0.004752, allocations: 12 kB / 0.8459 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.872e-05/0.00478, allocations: 24.78 kB / 0.8459 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.004782, allocations: 4 kB / 0.8459 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 5.212e-05/0.004834, allocations: 61.62 kB / 0.846 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.004842, allocations: 4 kB / 0.846 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.004851, allocations: 0 / 0.846 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.702e-06/0.004858, allocations: 3.938 kB / 0.846 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.004961, allocations: 19.98 kB / 0.846 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003238/0.005284, allocations: 0.5938 MB / 0.8466 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.596e-05/0.0053, allocations: 7.891 kB / 0.8466 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.005305, allocations: 4 kB / 0.8466 GB, free: 6.711 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 4.094e-05/0.005346, allocations: 109.8 kB / 0.8467 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-06/0.005351, allocations: 7.938 kB / 0.8467 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.418e-05/0.005405, allocations: 45.25 kB / 0.8468 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.005408, allocations: 8.094 kB / 0.8468 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005409, allocations: 0 / 0.8468 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.005416, allocations: 3.953 kB / 0.8468 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-06/0.005423, allocations: 0 / 0.8468 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-06/0.005431, allocations: 4 kB / 0.8468 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-06/0.005438, allocations: 0 / 0.8468 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.854e-05/0.005527, allocations: 129.8 kB / 0.8469 GB, free: 6.387 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.073e-05/0.005597, allocations: 206.8 kB / 0.8471 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.495e-05/0.005612, allocations: 12.94 kB / 0.8471 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.41e-05/0.005626, allocations: 24.84 kB / 0.8471 GB, free: 6.125 MB / 0.8073 GB Notification: Performance of Backend: time 2e-07/0.005627, allocations: 0 / 0.8471 GB, free: 6.125 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.005965, allocations: 231.4 kB / 0.8474 GB, free: 5.883 MB / 0.8073 GB Notification: Performance of SimCode: time 0.0003467/0.006312, allocations: 0.6417 MB / 0.848 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of Templates: time 0.003406/0.009717, allocations: 2.728 MB / 0.8506 GB, free: 2.488 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow_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.73340583126992]