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.001736/0.001736, allocations: 88.72 kB / 19.44 MB, free: 352 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.001762/0.001762, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.503/1.503, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.289/3.289, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] 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.845e-06/2.845e-06, allocations: 0 / 0.8776 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.203e-05/3.488e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.003575/0.00361, allocations: 1.427 MB / 0.879 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.005532, allocations: 1.003 MB / 0.88 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.683e-05/0.005578, allocations: 0 / 0.88 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.005606, allocations: 4.969 kB / 0.88 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.005742, allocations: 24.42 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008789/0.006621, allocations: 242.4 kB / 0.8803 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.006755, allocations: 71.7 kB / 0.8803 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.006792, allocations: 4.625 kB / 0.8803 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.788e-05/0.00687, allocations: 39.83 kB / 0.8804 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.926e-05/0.006969, allocations: 32.55 kB / 0.8804 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.006988, allocations: 4.688 kB / 0.8804 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008542/0.007842, allocations: 403.3 kB / 0.8808 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.007875, allocations: 20.88 kB / 0.8808 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.00792, allocations: 19.92 kB / 0.8808 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005985/0.008518, allocations: 340.6 kB / 0.8812 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.00852, allocations: 0 / 0.8812 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.72e-07/0.008521, allocations: 0 / 0.8812 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.008525, allocations: 0 / 0.8812 GB, free: 2.848 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.0007503/0.009275, allocations: 390.7 kB / 0.8815 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.009315, allocations: 16.02 kB / 0.8815 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006447/0.00996, allocations: 64.75 kB / 0.8816 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.01015, allocations: 126.2 kB / 0.8817 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.01016, allocations: 384 / 0.8817 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.01018, allocations: 4.375 kB / 0.8817 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.01042, allocations: 62.22 kB / 0.8818 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.01043, allocations: 4.125 kB / 0.8818 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.01045, allocations: 4.125 kB / 0.8818 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.01045, allocations: 4 kB / 0.8818 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.0107, allocations: 43.95 kB / 0.8818 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.0109, allocations: 125.3 kB / 0.882 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.01128, allocations: 86.5 kB / 0.882 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.01141, allocations: 36.91 kB / 0.8821 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.01142, allocations: 4 kB / 0.8821 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.01146, allocations: 30.56 kB / 0.8821 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.01146, allocations: 3.938 kB / 0.8821 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0005149/0.01197, allocations: 105.6 kB / 0.8822 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.01203, allocations: 55.34 kB / 0.8823 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.01221, allocations: 155.8 kB / 0.8824 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.01224, allocations: 29.7 kB / 0.8824 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.769e-05/0.01232, allocations: 92.12 kB / 0.8825 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.01235, allocations: 19.83 kB / 0.8826 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.867e-05/0.01243, allocations: 33.7 kB / 0.8826 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.01262, allocations: 318.8 kB / 0.8829 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.01278, allocations: 43.97 kB / 0.8829 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.01296, allocations: 47.97 kB / 0.883 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.01327, allocations: 92.77 kB / 0.8831 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01327, allocations: 0 / 0.8831 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004338/0.0137, allocations: 153.5 kB / 0.8832 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.01372, allocations: 11.94 kB / 0.8832 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.01373, allocations: 0 / 0.8832 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.01375, allocations: 3.938 kB / 0.8832 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.01396, allocations: 19.98 kB / 0.8832 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.01396, allocations: 3.984 kB / 0.8832 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.01413, allocations: 7.953 kB / 0.8833 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.01414, allocations: 4 kB / 0.8833 GB, free: 0.5195 MB / 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 0.0001228/0.01427, allocations: 121.8 kB / 0.8834 GB, free: 400 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.01429, allocations: 7.953 kB / 0.8834 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.838e-05/0.01433, allocations: 12.34 kB / 0.8834 GB, free: 376 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.01434, allocations: 3.938 kB / 0.8834 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.01434, allocations: 4 kB / 0.8834 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.01435, allocations: 0 / 0.8834 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.01448, allocations: 117.2 kB / 0.8835 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01449, allocations: 4 kB / 0.8835 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.01462, allocations: 11.98 kB / 0.8835 GB, free: 204 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.01462, allocations: 0 / 0.8835 GB, free: 204 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.01463, allocations: 7.984 kB / 0.8835 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01464, allocations: 0 / 0.8835 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.01464, allocations: 3.938 kB / 0.8835 GB, free: 192 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.01498, allocations: 117 kB / 0.8837 GB, free: 56 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.015, allocations: 7.938 kB / 0.8837 GB, free: 48 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.01503, allocations: 0 / 0.8837 GB, free: 48 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.01515, allocations: 4 kB / 0.8837 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.01518, allocations: 11.92 kB / 0.8837 GB, free: 32 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.01519, allocations: 0 / 0.8837 GB, free: 32 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001273/0.01531, allocations: 120.8 kB / 0.8838 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01531, allocations: 0 / 0.8838 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002423/0.01556, allocations: 27.94 kB / 0.8838 GB, free: 15.89 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.000217/0.01577, allocations: 107.2 kB / 0.8839 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003832/0.01616, allocations: 109.6 kB / 0.884 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.01616, allocations: 3.938 kB / 0.884 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.01629, allocations: 31.97 kB / 0.8841 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.01657, allocations: 19.84 kB / 0.8841 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009916/0.01757, allocations: 208.6 kB / 0.8843 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.193e-05/0.01765, allocations: 79.52 kB / 0.8844 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.832e-05/0.01772, allocations: 8 kB / 0.8844 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.276e-05/0.01779, allocations: 12.83 kB / 0.8844 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of SimCode: time 3.6e-07/0.01779, allocations: 7.938 kB / 0.8844 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of Templates: time 0.005434/0.02322, allocations: 1.921 MB / 0.8863 GB, free: 13.36 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.276983462972566]