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.001369/0.001369, allocations: 92.22 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.001203/0.001203, allocations: 169 kB / 23.02 MB, free: 1.555 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.048/1.048, allocations: 177.1 MB / 203.4 MB, free: 5.172 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.133/2.133, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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 2.084e-06/2.084e-06, allocations: 0 / 0.8782 GB, free: 6.105 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.277e-05/3.486e-05, allocations: 7.016 kB / 0.8782 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.002198/0.002233, allocations: 1.461 MB / 0.8796 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.003451, allocations: 1.062 MB / 0.8807 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.00351, allocations: 0 / 0.8807 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.003539, allocations: 7.922 kB / 0.8807 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.003662, allocations: 21.38 kB / 0.8807 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006125/0.004275, allocations: 241.9 kB / 0.8809 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.942e-05/0.004374, allocations: 67.72 kB / 0.881 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.686e-05/0.004421, allocations: 9.109 kB / 0.881 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.51e-05/0.004496, allocations: 35.91 kB / 0.881 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.549e-05/0.004582, allocations: 32.77 kB / 0.8811 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.004597, allocations: 4 kB / 0.8811 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004548/0.005052, allocations: 412 kB / 0.8815 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.005109, allocations: 11.92 kB / 0.8815 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.005142, allocations: 25.56 kB / 0.8815 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.005534, allocations: 342.9 kB / 0.8818 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.005537, allocations: 0 / 0.8818 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.182e-06/0.005538, allocations: 0 / 0.8818 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.005543, allocations: 0 / 0.8818 GB, free: 2.406 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.0005442/0.006087, allocations: 493.6 kB / 0.8823 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.006133, allocations: 8.031 kB / 0.8823 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004434/0.006576, allocations: 62.28 kB / 0.8824 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.006704, allocations: 140.5 kB / 0.8825 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.006719, allocations: 1.969 kB / 0.8825 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.006735, allocations: 4.375 kB / 0.8825 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.006893, allocations: 70.92 kB / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.006904, allocations: 192 / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.006917, allocations: 6.812 kB / 0.8826 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.006925, allocations: 0 / 0.8826 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.682e-05/0.006992, allocations: 23.92 kB / 0.8826 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.007145, allocations: 136.6 kB / 0.8827 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.007262, allocations: 59.05 kB / 0.8828 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.007302, allocations: 23.75 kB / 0.8828 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.007319, allocations: 1.844 kB / 0.8828 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.007342, allocations: 37.39 kB / 0.8829 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.007342, allocations: 0 / 0.8829 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.000207/0.007549, allocations: 77.56 kB / 0.8829 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.007579, allocations: 59.34 kB / 0.883 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.007692, allocations: 216.2 kB / 0.8832 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.007707, allocations: 29.7 kB / 0.8832 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.007753, allocations: 130.9 kB / 0.8833 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.007781, allocations: 11.91 kB / 0.8834 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.007833, allocations: 39.36 kB / 0.8834 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.007959, allocations: 0.4884 MB / 0.8839 GB, free: 136 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.095e-05/0.00802, allocations: 31.98 kB / 0.8839 GB, free: 104 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.826e-05/0.008068, allocations: 35.98 kB / 0.8839 GB, free: 68 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.008185, allocations: 71.09 kB / 0.884 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.008188, allocations: 0 / 0.884 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003151/0.008503, allocations: 129.6 kB / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.008518, allocations: 8 kB / 0.8841 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.008533, allocations: 0 / 0.8841 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.008554, allocations: 7.938 kB / 0.8841 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.008702, allocations: 15.98 kB / 0.8842 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.008707, allocations: 3.828 kB / 0.8842 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.476e-05/0.008782, allocations: 19.88 kB / 0.8842 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.008793, allocations: 4 kB / 0.8842 GB, free: 15.8 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 8.243e-05/0.008876, allocations: 156.5 kB / 0.8843 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.008893, allocations: 11.95 kB / 0.8843 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.008931, allocations: 12.34 kB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.008935, allocations: 7.938 kB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.008939, allocations: 0 / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.008941, allocations: 0 / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.413e-05/0.009026, allocations: 132.6 kB / 0.8845 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.009027, allocations: 0 / 0.8845 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.853e-05/0.009086, allocations: 11.98 kB / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.009088, allocations: 4.188 kB / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.009097, allocations: 0 / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.009098, allocations: 0 / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.0091, allocations: 7.938 kB / 0.8845 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.009229, allocations: 104.4 kB / 0.8846 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.009246, allocations: 11.91 kB / 0.8846 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.009261, allocations: 3.938 kB / 0.8846 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.545e-05/0.009307, allocations: 4 kB / 0.8846 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.009327, allocations: 7.922 kB / 0.8846 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.009334, allocations: 8 kB / 0.8846 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.134e-05/0.009395, allocations: 148.7 kB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009395, allocations: 0 / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001619/0.009557, allocations: 31.94 kB / 0.8848 GB, free: 15.08 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.0001621/0.009719, allocations: 115.2 kB / 0.8849 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001784/0.009898, allocations: 97.36 kB / 0.885 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.009899, allocations: 0 / 0.885 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.009934, allocations: 27.61 kB / 0.885 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.01011, allocations: 15.98 kB / 0.8851 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007115/0.01082, allocations: 210.3 kB / 0.8853 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.719e-05/0.01086, allocations: 59.23 kB / 0.8853 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.442e-05/0.0109, allocations: 11.98 kB / 0.8853 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.01094, allocations: 12.5 kB / 0.8853 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of SimCode: time 8.01e-07/0.01094, allocations: 3.938 kB / 0.8853 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of Templates: time 0.003835/0.01478, allocations: 1.94 MB / 0.8872 GB, free: 12.56 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.615020249970257]