Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.0009035/0.0009035, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001009/0.001009, allocations: 173 kB / 23.03 MB, free: 1.547 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.9114/0.9114, allocations: 177.1 MB / 203.4 MB, free: 5.645 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 1.993/1.993, allocations: 429.5 MB / 0.6733 GB, free: 4.051 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.PowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.897e-05, allocations: 4.219 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.001883/0.001912, allocations: 1.468 MB / 0.8796 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.002982, allocations: 1.06 MB / 0.8807 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.003024, allocations: 0.6562 kB / 0.8807 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.359e-05/0.003048, allocations: 11.88 kB / 0.8807 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.003156, allocations: 13.12 kB / 0.8807 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.003692, allocations: 253.8 kB / 0.8809 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.091e-05/0.003783, allocations: 64.81 kB / 0.881 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.003818, allocations: 3.984 kB / 0.881 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.405e-05/0.003872, allocations: 39.91 kB / 0.881 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/0.00395, allocations: 32.92 kB / 0.8811 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.003965, allocations: 4.719 kB / 0.8811 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004179/0.004383, allocations: 411.3 kB / 0.8815 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.004404, allocations: 13.45 kB / 0.8815 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.004432, allocations: 27.91 kB / 0.8815 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.004795, allocations: 335 kB / 0.8818 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.004798, allocations: 0 / 0.8818 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.352e-06/0.004799, allocations: 0 / 0.8818 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.004803, allocations: 0.5312 kB / 0.8818 GB, free: 2.582 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004912/0.005294, allocations: 493.3 kB / 0.8823 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.005333, allocations: 8.031 kB / 0.8823 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003394/0.005673, allocations: 66.59 kB / 0.8824 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.005781, allocations: 132.4 kB / 0.8825 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.005795, allocations: 4.375 kB / 0.8825 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.005807, allocations: 5.75 kB / 0.8825 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.00595, allocations: 70.92 kB / 0.8826 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.005957, allocations: 3.625 kB / 0.8826 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.005969, allocations: 4.125 kB / 0.8826 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.005977, allocations: 3.984 kB / 0.8826 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.609e-05/0.006043, allocations: 23.97 kB / 0.8826 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.006195, allocations: 136.6 kB / 0.8827 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.00631, allocations: 58.98 kB / 0.8828 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.006347, allocations: 23.75 kB / 0.8828 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.006359, allocations: 4 kB / 0.8828 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.006378, allocations: 33.39 kB / 0.8829 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.006379, allocations: 1.094 kB / 0.8829 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001956/0.006575, allocations: 77.62 kB / 0.8829 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.006605, allocations: 56.5 kB / 0.883 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.006715, allocations: 216.3 kB / 0.8832 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.006727, allocations: 25.7 kB / 0.8832 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.006773, allocations: 142.9 kB / 0.8834 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.006791, allocations: 7.906 kB / 0.8834 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.006839, allocations: 43.34 kB / 0.8834 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.006948, allocations: 0.4884 MB / 0.8839 GB, free: 308 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.42e-05/0.007002, allocations: 31.98 kB / 0.8839 GB, free: 276 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.324e-05/0.007045, allocations: 31.98 kB / 0.8839 GB, free: 244 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.107e-05/0.007136, allocations: 70.91 kB / 0.884 GB, free: 172 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.007138, allocations: 0 / 0.884 GB, free: 172 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001483/0.007286, allocations: 129.5 kB / 0.8841 GB, free: 36 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.007298, allocations: 4 kB / 0.8841 GB, free: 32 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.007312, allocations: 8 kB / 0.8841 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.007324, allocations: 7.875 kB / 0.8842 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.007434, allocations: 15.98 kB / 0.8842 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.007441, allocations: 4.125 kB / 0.8842 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.66e-05/0.007507, allocations: 19.81 kB / 0.8842 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.007518, allocations: 8 kB / 0.8842 GB, free: 15.96 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.389e-05/0.007592, allocations: 152.6 kB / 0.8843 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.007606, allocations: 7.953 kB / 0.8844 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.007635, allocations: 12.34 kB / 0.8844 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.007638, allocations: 3.938 kB / 0.8844 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.007642, allocations: 4 kB / 0.8844 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.007646, allocations: 3.984 kB / 0.8844 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.192e-05/0.007718, allocations: 124.6 kB / 0.8845 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.007719, allocations: 0 / 0.8845 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/0.00777, allocations: 15.98 kB / 0.8845 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.007772, allocations: 0 / 0.8845 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.00778, allocations: 0 / 0.8845 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.007781, allocations: 0 / 0.8845 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.007783, allocations: 7.875 kB / 0.8845 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.007907, allocations: 100.4 kB / 0.8846 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.007921, allocations: 15.91 kB / 0.8846 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.007936, allocations: 0 / 0.8846 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.466e-05/0.007981, allocations: 7.984 kB / 0.8846 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.008004, allocations: 8.172 kB / 0.8846 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.008008, allocations: 0 / 0.8846 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.232e-05/0.00807, allocations: 156.7 kB / 0.8848 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.00807, allocations: 0 / 0.8848 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000154/0.008224, allocations: 27.94 kB / 0.8848 GB, free: 15.26 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001432/0.008368, allocations: 111.2 kB / 0.8849 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001683/0.008536, allocations: 109.3 kB / 0.885 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.008538, allocations: 0 / 0.885 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.161e-05/0.008569, allocations: 23.67 kB / 0.8851 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.008727, allocations: 15.98 kB / 0.8851 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006135/0.00934, allocations: 210.3 kB / 0.8853 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.226e-05/0.009373, allocations: 63.22 kB / 0.8853 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.234e-05/0.009415, allocations: 8 kB / 0.8853 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.009454, allocations: 12.5 kB / 0.8853 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.009455, allocations: 0 / 0.8853 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of Templates: time 0.004226/0.01368, allocations: 2.122 MB / 0.8874 GB, free: 12.55 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_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.277644199784845]