Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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: 99.64 kB / 18.95 MB, free: 2.668 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.002195/0.002195, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.228/3.228, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [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.002003/0.002003, allocations: 74.89 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3345, allocations: 176.1 MB / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002393/0.3369, allocations: 1.297 MB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005779/0.3375, allocations: 275 kB / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.946e-05/0.3375, allocations: 0 / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.3375, allocations: 0 / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.212e-05/0.3376, allocations: 15.92 kB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.3379, allocations: 75.72 kB / 1.327 GB, free: 148 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.143e-05/0.338, allocations: 35.8 kB / 1.327 GB, free: 112 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.338, allocations: 3.984 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.3381, allocations: 35.91 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.604e-05/0.3382, allocations: 15.92 kB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.3382, allocations: 3.938 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.3384, allocations: 75.91 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.3384, allocations: 0 / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.3384, allocations: 11.94 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.3386, allocations: 75.72 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3386, allocations: 0 / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3386, allocations: 4 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3386, allocations: 0 / 1.327 GB, free: 15.89 MB / 1.029 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.0004039/0.339, allocations: 286 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.339, allocations: 8.031 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.3391, allocations: 8.922 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.3392, allocations: 110.4 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.3392, allocations: 12.36 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.3392, allocations: 384 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.3393, allocations: 63.33 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3393, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.3393, allocations: 4 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3393, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.408e-05/0.3394, allocations: 12 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.3395, allocations: 109.3 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.634e-05/0.3396, allocations: 38.55 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.354e-05/0.3396, allocations: 8.922 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006756/0.3403, allocations: 147.9 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.3404, allocations: 38.5 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.3404, allocations: 0 / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001623/0.3405, allocations: 49.62 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.3406, allocations: 59.34 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.086e-05/0.3407, allocations: 106.1 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.3407, allocations: 29.7 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.3407, allocations: 80.14 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.3407, allocations: 11.91 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.3408, allocations: 13.72 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3409, allocations: 318.8 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.3409, allocations: 8 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.215e-05/0.341, allocations: 4 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.481e-05/0.341, allocations: 12.86 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.341, allocations: 4 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.747e-05/0.3411, allocations: 53.62 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3411, allocations: 7.938 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3411, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3411, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.254e-05/0.3412, allocations: 7.938 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3412, allocations: 4.062 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.3412, allocations: 8 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3412, allocations: 3.984 kB / 1.329 GB, free: 14.11 MB / 1.029 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 7.498e-05/0.3413, allocations: 105.8 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.3413, allocations: 15.89 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.3414, allocations: 61.94 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3414, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3414, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3414, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.812e-05/0.3415, allocations: 113.3 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3415, allocations: 0 / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.3416, allocations: 4 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3416, allocations: 0 / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3416, allocations: 3.938 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3416, allocations: 0 / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3416, allocations: 3.984 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.3417, allocations: 81.08 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.3417, allocations: 4 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.3417, allocations: 3.938 kB / 1.329 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.908e-05/0.3418, allocations: 3.938 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.3418, allocations: 11.98 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.3418, allocations: 3.938 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.408e-05/0.3419, allocations: 87.28 kB / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3419, allocations: 0 / 1.329 GB, free: 13.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002288/0.3421, allocations: 31.86 kB / 1.329 GB, free: 13.51 MB / 1.029 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.0001977/0.3423, allocations: 135.1 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.18e-05/0.3424, allocations: 8 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3424, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.782e-05/0.3424, allocations: 8 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.3426, allocations: 12.84 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.3429, allocations: 122.2 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.412e-05/0.3429, allocations: 63.34 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.199e-05/0.3429, allocations: 8 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.343, allocations: 11.44 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.343, allocations: 0 / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of Templates: time 0.003296/0.3463, allocations: 0.8014 MB / 1.331 GB, free: 12.31 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.971891704946756]