Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.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.0009775/0.0009775, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001021/0.001021, allocations: 173 kB / 23.49 MB, free: 1.051 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 1.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.073/2.073, allocations: 429.5 MB / 0.6736 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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,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") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.582e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.001576/0.001592, allocations: 1.394 MB / 0.8796 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009421/0.002534, allocations: 0.8943 MB / 0.8804 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.284e-05/0.002567, allocations: 0 / 0.8804 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.002587, allocations: 4.969 kB / 0.8804 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.969e-05/0.002657, allocations: 11.92 kB / 0.8805 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.003088, allocations: 218.1 kB / 0.8807 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.165e-05/0.00316, allocations: 39.78 kB / 0.8807 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.694e-05/0.003197, allocations: 0.7188 kB / 0.8807 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.507e-05/0.003242, allocations: 19.98 kB / 0.8807 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.815e-05/0.00328, allocations: 12.42 kB / 0.8807 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.003293, allocations: 5.469 kB / 0.8807 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003902/0.003683, allocations: 371.5 kB / 0.8811 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.0037, allocations: 15.91 kB / 0.8811 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.987e-05/0.00372, allocations: 8 kB / 0.8811 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.004021, allocations: 299.7 kB / 0.8814 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.004024, allocations: 0.7812 kB / 0.8814 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.51e-07/0.004024, allocations: 0 / 0.8814 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.004028, allocations: 1.094 kB / 0.8814 GB, free: 3.375 MB / 0.8386 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.0003601/0.004388, allocations: 443.6 kB / 0.8818 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.004436, allocations: 8.031 kB / 0.8818 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.004636, allocations: 29.45 kB / 0.8819 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.556e-05/0.004732, allocations: 110 kB / 0.882 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.004744, allocations: 384 / 0.882 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/0.004752, allocations: 384 / 0.882 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.817e-05/0.00485, allocations: 54.95 kB / 0.882 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.004856, allocations: 3.594 kB / 0.882 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.004866, allocations: 8.344 kB / 0.882 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.004873, allocations: 8.312 kB / 0.882 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.004897, allocations: 7.938 kB / 0.8821 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001124/0.00501, allocations: 128.6 kB / 0.8822 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.74e-05/0.005067, allocations: 35.05 kB / 0.8822 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.951e-05/0.005087, allocations: 19.75 kB / 0.8822 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.005099, allocations: 1.125 kB / 0.8822 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.005122, allocations: 37.39 kB / 0.8823 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.005122, allocations: 0 / 0.8823 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001565/0.005279, allocations: 59.14 kB / 0.8823 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.00531, allocations: 51.41 kB / 0.8824 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.005417, allocations: 188.8 kB / 0.8825 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.005428, allocations: 26.83 kB / 0.8826 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.005474, allocations: 138.8 kB / 0.8827 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.005491, allocations: 7.938 kB / 0.8827 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.005527, allocations: 31.48 kB / 0.8827 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.005643, allocations: 0.4923 MB / 0.8832 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.59e-05/0.005669, allocations: 12 kB / 0.8832 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.089e-05/0.005689, allocations: 11.98 kB / 0.8832 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.782e-05/0.005747, allocations: 47.61 kB / 0.8833 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.005749, allocations: 0 / 0.8833 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.257e-05/0.005832, allocations: 65.69 kB / 0.8834 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.005843, allocations: 4 kB / 0.8834 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.00586, allocations: 8 kB / 0.8834 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.005875, allocations: 3.984 kB / 0.8834 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.006246, allocations: 51.94 kB / 0.8834 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.007355, allocations: 1.86 MB / 0.8852 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.007381, allocations: 4.125 kB / 0.8852 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.007388, allocations: 4 kB / 0.8852 GB, free: 15.13 MB / 0.8542 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 6.756e-05/0.007455, allocations: 152.6 kB / 0.8854 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.007465, allocations: 15.89 kB / 0.8854 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.13e-05/0.007477, allocations: 3.625 kB / 0.8854 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.72e-07/0.007477, allocations: 0 / 0.8854 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.007481, allocations: 3.984 kB / 0.8854 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.007484, allocations: 4 kB / 0.8854 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.109e-05/0.007545, allocations: 116.6 kB / 0.8855 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.007548, allocations: 3.984 kB / 0.8855 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.007913, allocations: 83.84 kB / 0.8856 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.007915, allocations: 3.938 kB / 0.8856 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.007925, allocations: 7.938 kB / 0.8856 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008402/0.008765, allocations: 1.853 MB / 0.8874 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.008766, allocations: 0 / 0.8874 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.426e-05/0.00883, allocations: 88.33 kB / 0.8875 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-06/0.008834, allocations: 0 / 0.8875 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-06/0.008839, allocations: 0 / 0.8875 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.679e-05/0.008856, allocations: 7.984 kB / 0.8875 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.008874, allocations: 4.156 kB / 0.8875 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.008877, allocations: 0 / 0.8875 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.912e-05/0.008916, allocations: 139.2 kB / 0.8877 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008916, allocations: 0 / 0.8877 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001499/0.009066, allocations: 20 kB / 0.8877 GB, free: 12.44 MB / 0.8542 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.0001243/0.00919, allocations: 113.8 kB / 0.8878 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004268/0.009617, allocations: 133.2 kB / 0.8879 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.009619, allocations: 0 / 0.8879 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.009974, allocations: 91.58 kB / 0.888 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.01011, allocations: 12 kB / 0.888 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.01036, allocations: 134.3 kB / 0.8881 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.65e-05/0.01039, allocations: 63.16 kB / 0.8882 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.454e-05/0.0104, allocations: 0 / 0.8882 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.434e-05/0.01042, allocations: 8.5 kB / 0.8882 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/0.01042, allocations: 0 / 0.8882 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of Templates: time 0.002704/0.01312, allocations: 1.435 MB / 0.8896 GB, free: 10.42 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp.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.40963566605933]