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.00145/0.00145, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001398/0.001398, allocations: 173 kB / 23.49 MB, free: 1.055 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.9357/0.9357, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.07/2.07, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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.182e-06/1.182e-06, allocations: 0 / 0.8782 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.458e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.001963/0.001988, allocations: 1.462 MB / 0.8796 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.003164, allocations: 1.056 MB / 0.8807 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.453e-05/0.003218, allocations: 0 / 0.8807 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.003243, allocations: 11.86 kB / 0.8807 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.003353, allocations: 19.86 kB / 0.8807 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006258/0.003979, allocations: 245.6 kB / 0.8809 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.004079, allocations: 72.52 kB / 0.881 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.004121, allocations: 4 kB / 0.881 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.97e-05/0.004181, allocations: 39.89 kB / 0.8811 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.301e-05/0.004264, allocations: 33 kB / 0.8811 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.004279, allocations: 4 kB / 0.8811 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004734/0.004752, allocations: 404.9 kB / 0.8815 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.004788, allocations: 19.86 kB / 0.8815 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.004829, allocations: 15.98 kB / 0.8815 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.005212, allocations: 346.9 kB / 0.8818 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005215, allocations: 0.9688 kB / 0.8818 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005215, allocations: 0 / 0.8818 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.00522, allocations: 0.75 kB / 0.8818 GB, free: 2.895 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.0005039/0.005724, allocations: 491.3 kB / 0.8823 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.005763, allocations: 8.031 kB / 0.8823 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003508/0.006113, allocations: 64.75 kB / 0.8824 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.006235, allocations: 121 kB / 0.8825 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.006251, allocations: 8.359 kB / 0.8825 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.006265, allocations: 8.312 kB / 0.8825 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.006431, allocations: 70.92 kB / 0.8826 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.006438, allocations: 192 / 0.8826 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.006451, allocations: 8.125 kB / 0.8826 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.006459, allocations: 0 / 0.8826 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.374e-05/0.006523, allocations: 19.98 kB / 0.8826 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.006672, allocations: 140.5 kB / 0.8827 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.006786, allocations: 62.98 kB / 0.8828 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/0.006824, allocations: 23.75 kB / 0.8828 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.006839, allocations: 7.984 kB / 0.8828 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.00686, allocations: 37.39 kB / 0.8829 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 7.02e-07/0.006861, allocations: 0 / 0.8829 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.000199/0.00706, allocations: 73.64 kB / 0.8829 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.007092, allocations: 59.33 kB / 0.883 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.007208, allocations: 208 kB / 0.8832 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.00722, allocations: 25.7 kB / 0.8832 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.007273, allocations: 142.8 kB / 0.8834 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.007293, allocations: 15.84 kB / 0.8834 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.007344, allocations: 39.36 kB / 0.8834 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.007456, allocations: 0.4884 MB / 0.8839 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.007512, allocations: 31.98 kB / 0.8839 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-05/0.007559, allocations: 35.98 kB / 0.8839 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.908e-05/0.007658, allocations: 71.67 kB / 0.884 GB, free: 480 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.00766, allocations: 0 / 0.884 GB, free: 480 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001544/0.007814, allocations: 133.1 kB / 0.8841 GB, free: 344 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.007827, allocations: 4 kB / 0.8841 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.007842, allocations: 4 kB / 0.8842 GB, free: 336 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.007855, allocations: 3.938 kB / 0.8842 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.007968, allocations: 19.92 kB / 0.8842 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.007974, allocations: 0 / 0.8842 GB, free: 312 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.593e-05/0.00804, allocations: 19.89 kB / 0.8842 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.00805, allocations: 3.984 kB / 0.8842 GB, free: 288 kB / 0.8386 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.641e-05/0.008126, allocations: 160.6 kB / 0.8843 GB, free: 116 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.00814, allocations: 3.953 kB / 0.8844 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.008171, allocations: 12.34 kB / 0.8844 GB, free: 96 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.008174, allocations: 3.938 kB / 0.8844 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.008177, allocations: 0 / 0.8844 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.008181, allocations: 0 / 0.8844 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.974e-05/0.00828, allocations: 132.6 kB / 0.8845 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.008282, allocations: 0 / 0.8845 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-05/0.008339, allocations: 15.98 kB / 0.8845 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.00834, allocations: 0 / 0.8845 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.008348, allocations: 3.938 kB / 0.8845 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.008349, allocations: 0 / 0.8845 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.008351, allocations: 3.938 kB / 0.8845 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.008481, allocations: 104.3 kB / 0.8846 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.008496, allocations: 11.89 kB / 0.8846 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.008511, allocations: 0 / 0.8846 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.312e-05/0.008554, allocations: 4 kB / 0.8846 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.008577, allocations: 11.92 kB / 0.8846 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.008582, allocations: 0 / 0.8846 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.189e-05/0.008644, allocations: 160.9 kB / 0.8848 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008644, allocations: 0 / 0.8848 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001541/0.008798, allocations: 27.94 kB / 0.8848 GB, free: 15.57 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.0001373/0.008935, allocations: 107.2 kB / 0.8849 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001645/0.0091, allocations: 109.3 kB / 0.885 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.009101, allocations: 0 / 0.885 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.19e-05/0.009133, allocations: 23.67 kB / 0.8851 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.009307, allocations: 23.92 kB / 0.8851 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006501/0.009957, allocations: 206.3 kB / 0.8853 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.6e-05/0.009993, allocations: 63.23 kB / 0.8853 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.608e-05/0.01004, allocations: 11.98 kB / 0.8853 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.01008, allocations: 8.5 kB / 0.8854 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of SimCode: time 1.152e-06/0.01008, allocations: 0 / 0.8854 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of Templates: time 0.003489/0.01357, allocations: 1.947 MB / 0.8873 GB, free: 13.04 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.353349921992049]