Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.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.001752/0.001752, allocations: 104.3 kB / 19.7 MB, free: 2.152 MB / 14.72 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.002373/0.002373, allocations: 215.7 kB / 22.99 MB, free: 4.965 MB / 14.72 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 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.337/3.337, allocations: 0.505 GB / 0.8108 GB, free: 23.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Airflow.Multizone.BaseClasses.Examples.PowerLaw05,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 71.44 kB / 1.178 GB, free: 16.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3501, allocations: 180.2 MB / 1.354 GB, free: 7.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05): time 0.002676/0.3528, allocations: 1.316 MB / 1.355 GB, free: 6.121 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000614/0.3534, allocations: 271.1 kB / 1.356 GB, free: 5.855 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.335e-05/0.3535, allocations: 0 / 1.356 GB, free: 5.855 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/0.3535, allocations: 3.938 kB / 1.356 GB, free: 5.852 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.3537, allocations: 15.91 kB / 1.356 GB, free: 5.836 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.3539, allocations: 71.73 kB / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.866e-05/0.354, allocations: 39.78 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.3541, allocations: 4 kB / 1.356 GB, free: 5.723 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.3542, allocations: 31.97 kB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.117e-05/0.3542, allocations: 15.86 kB / 1.356 GB, free: 5.676 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3542, allocations: 7.938 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.3544, allocations: 63.92 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.3544, allocations: 7.984 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.3544, allocations: 7.938 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.3546, allocations: 75.73 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3546, allocations: 0 / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3546, allocations: 0 / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.3546, allocations: 0 / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004566/0.3551, allocations: 282.1 kB / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3551, allocations: 12.02 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005102/0.3556, allocations: 44.86 kB / 1.356 GB, free: 5.156 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.3558, allocations: 114.4 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.3558, allocations: 4.375 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.3558, allocations: 4.375 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.3561, allocations: 91.28 kB / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.3561, allocations: 0 / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3561, allocations: 4 kB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3561, allocations: 0 / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.3563, allocations: 43.89 kB / 1.356 GB, free: 4.863 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.3565, allocations: 121.2 kB / 1.357 GB, free: 4.715 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.3569, allocations: 98.55 kB / 1.357 GB, free: 4.609 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.979e-05/0.357, allocations: 28.83 kB / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.357, allocations: 0 / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.357, allocations: 34.5 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.357, allocations: 0 / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0003957/0.3574, allocations: 109.6 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.3575, allocations: 55.34 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.3576, allocations: 113.8 kB / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.3576, allocations: 25.7 kB / 1.357 GB, free: 4.203 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.3576, allocations: 80.14 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.3577, allocations: 7.891 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.3577, allocations: 25.66 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3579, allocations: 314.8 kB / 1.357 GB, free: 3.766 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.358, allocations: 23.97 kB / 1.357 GB, free: 3.742 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.992e-05/0.3581, allocations: 28.17 kB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.3582, allocations: 52.89 kB / 1.358 GB, free: 3.66 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3582, allocations: 0 / 1.358 GB, free: 3.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002391/0.3585, allocations: 77.59 kB / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3585, allocations: 9.5 kB / 1.358 GB, free: 3.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3585, allocations: 4 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3585, allocations: 4 kB / 1.358 GB, free: 3.562 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.3587, allocations: 11.98 kB / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3587, allocations: 0 / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.151e-05/0.3588, allocations: 7.984 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3588, allocations: 0 / 1.358 GB, free: 3.543 MB / 1.045 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): 3 * 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 prepare postOptimizeDAE: time 9.359e-05/0.3589, allocations: 125.8 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.3589, allocations: 7.891 kB / 1.358 GB, free: 3.402 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.3589, allocations: 8 kB / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3589, allocations: 0 / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3589, allocations: 0 / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3589, allocations: 4.375 kB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.3591, allocations: 117.2 kB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3591, allocations: 4 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.3592, allocations: 11.98 kB / 1.358 GB, free: 3.227 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3592, allocations: 3.938 kB / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.3592, allocations: 3.938 kB / 1.358 GB, free: 3.219 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3592, allocations: 0 / 1.358 GB, free: 3.219 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3592, allocations: 0 / 1.358 GB, free: 3.219 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.3595, allocations: 113 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.3595, allocations: 11.94 kB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.3595, allocations: 3.938 kB / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.3597, allocations: 7.984 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.3597, allocations: 4 kB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.3597, allocations: 0 / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.558e-05/0.3598, allocations: 91.27 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3598, allocations: 0 / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001949/0.3599, allocations: 8 kB / 1.358 GB, free: 2.965 MB / 1.045 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 (3): * Single equations (assignments): 3 * 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.0001184/0.3601, allocations: 99.25 kB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.3603, allocations: 55.88 kB / 1.358 GB, free: 2.805 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3603, allocations: 0 / 1.358 GB, free: 2.805 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.543e-05/0.3604, allocations: 19.98 kB / 1.358 GB, free: 2.785 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.3606, allocations: 8 kB / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005606/0.3612, allocations: 174.2 kB / 1.359 GB, free: 2.578 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.531e-05/0.3612, allocations: 63.34 kB / 1.359 GB, free: 2.496 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.227e-05/0.3613, allocations: 12 kB / 1.359 GB, free: 2.484 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.3614, allocations: 11.42 kB / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of SimCode: time 4.01e-07/0.3614, allocations: 0 / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of Templates: time 0.003026/0.3644, allocations: 0.801 MB / 1.359 GB, free: 1.684 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05 -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.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.930801094000344]