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.001074/0.001074, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.001017/0.001017, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.133/1.133, allocations: 177.2 MB / 204.5 MB, free: 5.5 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.218/2.218, allocations: 429.5 MB / 0.6743 GB, free: 3.883 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 2.425e-06/2.425e-06, allocations: 0 / 0.8794 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.703e-05, allocations: 8.922 kB / 0.8794 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.001948/0.001975, allocations: 1.396 MB / 0.8808 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.003339, allocations: 0.8858 MB / 0.8817 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.003385, allocations: 0 / 0.8817 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.003409, allocations: 5.062 kB / 0.8817 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.003512, allocations: 7.875 kB / 0.8817 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.004013, allocations: 219.4 kB / 0.8819 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.434e-05/0.004097, allocations: 35.8 kB / 0.8819 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.004141, allocations: 8 kB / 0.8819 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.823e-05/0.004199, allocations: 15.98 kB / 0.8819 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.561e-05/0.004255, allocations: 15.92 kB / 0.882 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.004271, allocations: 4 kB / 0.882 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004165/0.004687, allocations: 376.1 kB / 0.8823 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.004708, allocations: 15.92 kB / 0.8823 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.004726, allocations: 5.656 kB / 0.8823 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.005052, allocations: 291.2 kB / 0.8826 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.005055, allocations: 4 kB / 0.8826 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005056, allocations: 0 / 0.8826 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.005062, allocations: 0.5 kB / 0.8826 GB, free: 2.574 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.000401/0.005463, allocations: 440.9 kB / 0.883 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.005503, allocations: 12.03 kB / 0.883 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.005696, allocations: 28.8 kB / 0.8831 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.005806, allocations: 108.6 kB / 0.8832 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.005822, allocations: 1.969 kB / 0.8832 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.005834, allocations: 8.312 kB / 0.8832 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.005947, allocations: 50.95 kB / 0.8832 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.005957, allocations: 4.188 kB / 0.8832 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.005964, allocations: 384 / 0.8832 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.005971, allocations: 384 / 0.8832 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.005992, allocations: 11.92 kB / 0.8833 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.006106, allocations: 113.2 kB / 0.8834 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.412e-05/0.00616, allocations: 31.06 kB / 0.8834 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.006178, allocations: 15.69 kB / 0.8834 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.006192, allocations: 3.984 kB / 0.8834 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.006215, allocations: 37.39 kB / 0.8834 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.006216, allocations: 4 kB / 0.8835 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001396/0.006356, allocations: 49.64 kB / 0.8835 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.006387, allocations: 51.41 kB / 0.8835 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.006478, allocations: 181.3 kB / 0.8837 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.006491, allocations: 25.7 kB / 0.8837 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.006542, allocations: 142.8 kB / 0.8839 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.00656, allocations: 3.953 kB / 0.8839 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.006596, allocations: 35.34 kB / 0.8839 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.006715, allocations: 0.4883 MB / 0.8844 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.006735, allocations: 15.92 kB / 0.8844 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.732e-05/0.006752, allocations: 16.12 kB / 0.8844 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.11e-05/0.006803, allocations: 39.66 kB / 0.8845 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.006805, allocations: 0 / 0.8845 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.048e-05/0.006885, allocations: 61.69 kB / 0.8845 GB, free: 436 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.006899, allocations: 4 kB / 0.8845 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.006913, allocations: 0 / 0.8845 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.006923, allocations: 4 kB / 0.8845 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.007277, allocations: 59.86 kB / 0.8846 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.008313, allocations: 1.841 MB / 0.8864 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.008335, allocations: 4 kB / 0.8864 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.008341, allocations: 0 / 0.8864 GB, free: 14.41 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.508e-05/0.008407, allocations: 160.6 kB / 0.8865 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-06/0.008415, allocations: 11.95 kB / 0.8866 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.335e-05/0.008428, allocations: 11.61 kB / 0.8866 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.00843, allocations: 3.938 kB / 0.8866 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.51e-07/0.00843, allocations: 0 / 0.8866 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.008433, allocations: 4 kB / 0.8866 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.92e-05/0.008492, allocations: 101.2 kB / 0.8867 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.008494, allocations: 0 / 0.8867 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003645/0.008859, allocations: 75.91 kB / 0.8867 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.008861, allocations: 0 / 0.8867 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.008867, allocations: 11.92 kB / 0.8868 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.009946, allocations: 1.831 MB / 0.8885 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.009948, allocations: 4 kB / 0.8885 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.148e-05/0.01001, allocations: 80.39 kB / 0.8886 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-06/0.01001, allocations: 0 / 0.8886 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-06/0.01002, allocations: 7.938 kB / 0.8886 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.576e-05/0.01004, allocations: 0 / 0.8886 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.01005, allocations: 3.938 kB / 0.8886 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.01006, allocations: 3.984 kB / 0.8886 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.143e-05/0.0101, allocations: 139.2 kB / 0.8888 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.0101, allocations: 4.094 kB / 0.8888 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001598/0.01026, allocations: 20 kB / 0.8888 GB, free: 11.77 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.0001287/0.01039, allocations: 111.2 kB / 0.8889 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004045/0.01079, allocations: 125.2 kB / 0.889 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01079, allocations: 0 / 0.889 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.01115, allocations: 91.53 kB / 0.8891 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.01129, allocations: 11.98 kB / 0.8891 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.01154, allocations: 130.3 kB / 0.8892 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.015e-05/0.01157, allocations: 63.2 kB / 0.8893 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.418e-05/0.01159, allocations: 96 / 0.8893 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.01163, allocations: 74.2 kB / 0.8894 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/0.01163, allocations: 0 / 0.8894 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.003087/0.01472, allocations: 1.602 MB / 0.8909 GB, free: 9.531 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: 6.035746792796999]