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.0009603/0.0009603, allocations: 79.75 kB / 20.08 MB, free: 4.176 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.0009974/0.0009974, allocations: 156.9 kB / 23.51 MB, free: 0.7539 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.9166/0.9166, allocations: 177.2 MB / 204 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.3/2.3, allocations: 439.8 MB / 0.6839 GB, free: 12.56 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.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.884e-06/1.884e-06, allocations: 0 / 0.8403 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.977e-05, allocations: 9.766 kB / 0.8403 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv): time 0.003266/0.003295, allocations: 1.474 MB / 0.8417 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.004995, allocations: 0.9575 MB / 0.8427 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.71e-05/0.005052, allocations: 0 / 0.8427 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.005077, allocations: 3.938 kB / 0.8427 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.754e-05/0.005175, allocations: 11.91 kB / 0.8427 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008109/0.005986, allocations: 258.8 kB / 0.8429 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.015e-05/0.006076, allocations: 35.8 kB / 0.843 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.006113, allocations: 4 kB / 0.843 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.673e-05/0.00617, allocations: 15.98 kB / 0.843 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.906e-05/0.006219, allocations: 19.92 kB / 0.843 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.006233, allocations: 8 kB / 0.843 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008235/0.007056, allocations: 0.507 MB / 0.8435 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.007078, allocations: 7.984 kB / 0.8435 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.007104, allocations: 11.94 kB / 0.8435 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.00756, allocations: 323.1 kB / 0.8438 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.007565, allocations: 3.984 kB / 0.8438 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.373e-06/0.007566, allocations: 0 / 0.8438 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.007571, allocations: 0 / 0.8438 GB, free: 8.961 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.0003544/0.007926, allocations: 315.6 kB / 0.8441 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.007959, allocations: 8.031 kB / 0.8441 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.298e-05/0.007982, allocations: 8.938 kB / 0.8442 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.109e-05/0.008073, allocations: 124.3 kB / 0.8443 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.008083, allocations: 384 / 0.8443 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.00809, allocations: 384 / 0.8443 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.251e-05/0.008152, allocations: 30.27 kB / 0.8443 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.008163, allocations: 192 / 0.8443 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.008178, allocations: 12.06 kB / 0.8443 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.008184, allocations: 0 / 0.8443 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.332e-05/0.008197, allocations: 4 kB / 0.8443 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.071e-05/0.008278, allocations: 61.03 kB / 0.8444 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.711e-05/0.008315, allocations: 22.61 kB / 0.8444 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/0.008329, allocations: 8.922 kB / 0.8444 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.008344, allocations: 0 / 0.8444 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.008364, allocations: 34.5 kB / 0.8444 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.008365, allocations: 0 / 0.8444 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0004015/0.008767, allocations: 41.62 kB / 0.8445 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.008798, allocations: 51.41 kB / 0.8445 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.637e-05/0.008874, allocations: 134.5 kB / 0.8447 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.008884, allocations: 25.7 kB / 0.8447 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.872e-05/0.008913, allocations: 100.2 kB / 0.8448 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.008929, allocations: 7.953 kB / 0.8448 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.008958, allocations: 25.69 kB / 0.8448 GB, free: 7.832 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.523e-05/0.009033, allocations: 314.8 kB / 0.8451 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.009044, allocations: 8 kB / 0.8451 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-06/0.009054, allocations: 8 kB / 0.8451 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.791e-05/0.009092, allocations: 36.72 kB / 0.8452 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.009094, allocations: 0 / 0.8452 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 5.643e-05/0.00915, allocations: 53.69 kB / 0.8452 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.009161, allocations: 4 kB / 0.8452 GB, free: 7.398 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.009174, allocations: 0 / 0.8452 GB, free: 7.398 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.009183, allocations: 4 kB / 0.8452 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.009322, allocations: 15.98 kB / 0.8452 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002573/0.00958, allocations: 0.5937 MB / 0.8458 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.009598, allocations: 15.83 kB / 0.8458 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.009604, allocations: 0 / 0.8458 GB, free: 6.746 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.739e-05/0.009661, allocations: 109.8 kB / 0.8459 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-06/0.009667, allocations: 7.938 kB / 0.8459 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.164e-05/0.009739, allocations: 41.31 kB / 0.846 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.009741, allocations: 4.094 kB / 0.846 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.009743, allocations: 0 / 0.846 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.009746, allocations: 0 / 0.846 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.778e-05/0.009803, allocations: 73.88 kB / 0.846 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.009805, allocations: 0 / 0.846 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.277e-05/0.009868, allocations: 19.92 kB / 0.8461 GB, free: 6.465 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.009869, allocations: 0 / 0.8461 GB, free: 6.465 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.009874, allocations: 4 kB / 0.8461 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001884/0.01006, allocations: 0.5899 MB / 0.8466 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01006, allocations: 0 / 0.8466 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.219e-05/0.01011, allocations: 69.06 kB / 0.8467 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-06/0.01012, allocations: 3.953 kB / 0.8467 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.01013, allocations: 4.094 kB / 0.8467 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-06/0.01013, allocations: 0 / 0.8467 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.01015, allocations: 3.984 kB / 0.8467 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.01015, allocations: 3.984 kB / 0.8467 GB, free: 5.746 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.715e-05/0.01017, allocations: 16.86 kB / 0.8467 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01017, allocations: 0 / 0.8467 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001468/0.01031, allocations: 51.8 kB / 0.8468 GB, free: 5.676 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001906/0.0105, allocations: 140.2 kB / 0.8469 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.01062, allocations: 58.55 kB / 0.847 GB, free: 5.461 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.01062, allocations: 0 / 0.847 GB, free: 5.461 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.374e-05/0.01065, allocations: 20.78 kB / 0.847 GB, free: 5.438 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.01077, allocations: 9.812 kB / 0.847 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002497/0.01102, allocations: 131.7 kB / 0.8471 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.955e-05/0.01105, allocations: 63.34 kB / 0.8472 GB, free: 5.195 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.359e-05/0.01107, allocations: 7.984 kB / 0.8472 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.01111, allocations: 55.31 kB / 0.8473 GB, free: 5.133 MB / 0.8073 GB Notification: Performance of SimCode: time 8.12e-07/0.01111, allocations: 0 / 0.8473 GB, free: 5.133 MB / 0.8073 GB Notification: Performance of Templates: time 0.003212/0.01433, allocations: 1.725 MB / 0.8489 GB, free: 3.426 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: 5.2450815085321665]