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.001951/0.001951, allocations: 92.7 kB / 19.44 MB, free: 324 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.002582/0.002582, allocations: 161.7 kB / 22.75 MB, free: 1.656 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.476/1.476, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.145/3.145, allocations: 429.6 MB / 0.673 GB, free: 3.895 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.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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8776 GB, free: 5.344 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.415e-05, allocations: 3.281 kB / 0.8776 GB, free: 5.34 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05): time 0.002459/0.002483, allocations: 1.304 MB / 0.8789 GB, free: 4.051 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006153/0.003098, allocations: 277.5 kB / 0.8791 GB, free: 3.785 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.361e-05/0.003132, allocations: 0.6562 kB / 0.8791 GB, free: 3.785 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.208e-05/0.003154, allocations: 4.594 kB / 0.8791 GB, free: 3.781 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.003323, allocations: 21.27 kB / 0.8792 GB, free: 3.762 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.00356, allocations: 61.33 kB / 0.8792 GB, free: 3.703 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.415e-05/0.003644, allocations: 49.25 kB / 0.8793 GB, free: 3.656 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.003685, allocations: 7.984 kB / 0.8793 GB, free: 3.648 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.003819, allocations: 35 kB / 0.8793 GB, free: 3.617 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.258e-05/0.003861, allocations: 7.938 kB / 0.8793 GB, free: 3.609 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.003876, allocations: 0 / 0.8793 GB, free: 3.609 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.004037, allocations: 63.92 kB / 0.8794 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.004057, allocations: 11.91 kB / 0.8794 GB, free: 3.535 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.848e-05/0.004085, allocations: 8.688 kB / 0.8794 GB, free: 3.527 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.004265, allocations: 79.78 kB / 0.8795 GB, free: 3.449 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004268, allocations: 1.656 kB / 0.8795 GB, free: 3.449 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.51e-07/0.004269, allocations: 3.938 kB / 0.8795 GB, free: 3.445 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.004272, allocations: 0 / 0.8795 GB, free: 3.445 MB / 0.7917 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.0004388/0.004711, allocations: 278.1 kB / 0.8797 GB, free: 3.145 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.004753, allocations: 9.375 kB / 0.8797 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000559/0.005312, allocations: 60.73 kB / 0.8798 GB, free: 3.078 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.005448, allocations: 117.7 kB / 0.8799 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.005474, allocations: 384 / 0.8799 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.00549, allocations: 4.359 kB / 0.8799 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.005718, allocations: 91.92 kB / 0.88 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.005728, allocations: 3.938 kB / 0.88 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.005741, allocations: 0 / 0.88 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.005745, allocations: 0 / 0.88 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.005955, allocations: 51.94 kB / 0.8801 GB, free: 2.777 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.006355, allocations: 109.3 kB / 0.8802 GB, free: 2.641 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.006787, allocations: 90.47 kB / 0.8803 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.006897, allocations: 28.91 kB / 0.8803 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.006918, allocations: 8 kB / 0.8803 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.006956, allocations: 30.56 kB / 0.8803 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.006957, allocations: 0 / 0.8803 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.000468/0.007425, allocations: 113.5 kB / 0.8804 GB, free: 2.348 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.00747, allocations: 51.41 kB / 0.8805 GB, free: 2.285 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.007584, allocations: 109.8 kB / 0.8806 GB, free: 2.168 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.007611, allocations: 29.7 kB / 0.8806 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.007666, allocations: 84.14 kB / 0.8807 GB, free: 2.047 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.007695, allocations: 11.94 kB / 0.8807 GB, free: 2.035 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.00775, allocations: 17.67 kB / 0.8807 GB, free: 2.012 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.007923, allocations: 314.8 kB / 0.881 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.008028, allocations: 23.97 kB / 0.881 GB, free: 1.672 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.677e-05/0.008115, allocations: 19.98 kB / 0.8811 GB, free: 1.652 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.008315, allocations: 56.81 kB / 0.8811 GB, free: 1.594 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.008317, allocations: 3.938 kB / 0.8811 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002691/0.008586, allocations: 81.59 kB / 0.8812 GB, free: 1.504 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.008601, allocations: 4 kB / 0.8812 GB, free: 1.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.008608, allocations: 4 kB / 0.8812 GB, free: 1.496 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.008629, allocations: 7.922 kB / 0.8812 GB, free: 1.488 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.008769, allocations: 11.98 kB / 0.8812 GB, free: 1.477 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.008773, allocations: 0 / 0.8812 GB, free: 1.477 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.18e-05/0.008865, allocations: 7.938 kB / 0.8812 GB, free: 1.469 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.008876, allocations: 7.984 kB / 0.8812 GB, free: 1.461 MB / 0.7917 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.988e-05/0.008976, allocations: 109.8 kB / 0.8813 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.009003, allocations: 11.95 kB / 0.8814 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.996e-05/0.009033, allocations: 4.328 kB / 0.8814 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.009038, allocations: 3.938 kB / 0.8814 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.009043, allocations: 0 / 0.8814 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.009047, allocations: 3.984 kB / 0.8814 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.009188, allocations: 117.3 kB / 0.8815 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.00919, allocations: 0 / 0.8815 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.009321, allocations: 11.98 kB / 0.8815 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.009323, allocations: 4 kB / 0.8815 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.009332, allocations: 0 / 0.8815 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.009334, allocations: 3.938 kB / 0.8815 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.00934, allocations: 7.922 kB / 0.8815 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.009635, allocations: 97.84 kB / 0.8816 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/0.009691, allocations: 15.94 kB / 0.8816 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.009711, allocations: 4 kB / 0.8816 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.009825, allocations: 7.984 kB / 0.8816 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/0.009848, allocations: 7.938 kB / 0.8816 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.009856, allocations: 0 / 0.8816 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 6.8e-05/0.009924, allocations: 91.27 kB / 0.8817 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.009924, allocations: 0 / 0.8817 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002029/0.01013, allocations: 8 kB / 0.8817 GB, free: 0.8984 MB / 0.7917 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.0001237/0.01025, allocations: 95.25 kB / 0.8818 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002537/0.0105, allocations: 55.88 kB / 0.8819 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01051, allocations: 4 kB / 0.8819 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.01061, allocations: 27.92 kB / 0.8819 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.01085, allocations: 7.984 kB / 0.8819 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000596/0.01145, allocations: 176.4 kB / 0.8821 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.721e-05/0.01151, allocations: 71.27 kB / 0.8821 GB, free: 424 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 7.836e-05/0.01159, allocations: 8 kB / 0.8822 GB, free: 416 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.637e-05/0.01165, allocations: 12.5 kB / 0.8822 GB, free: 404 kB / 0.7917 GB Notification: Performance of SimCode: time 4.71e-07/0.01165, allocations: 0 / 0.8822 GB, free: 404 kB / 0.7917 GB Notification: Performance of Templates: time 0.003303/0.01495, allocations: 0.7922 MB / 0.8829 GB, free: 15.63 MB / 0.8073 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 -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/jenkins/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: 7.856237680069171]