Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00108/0.00108, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008908/0.0008908, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.917/0.917, allocations: 177.1 MB / 203.5 MB, free: 5.75 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 1.785/1.785, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.67e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001561/0.001588, allocations: 1.291 MB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003963/0.001984, allocations: 259 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.087e-05/0.002015, allocations: 0 / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.944e-05/0.002034, allocations: 7.938 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.62e-05/0.00213, allocations: 11.91 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.002393, allocations: 63.72 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.164e-05/0.002465, allocations: 39.86 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.002506, allocations: 3.984 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.002625, allocations: 39.91 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.273e-05/0.002668, allocations: 4 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.002683, allocations: 0 / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.002798, allocations: 71.8 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.002816, allocations: 7.969 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.963e-05/0.002836, allocations: 8 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.002986, allocations: 87.7 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.00299, allocations: 4 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.92e-07/0.002991, allocations: 0 / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.002995, allocations: 0 / 1.003 GB, free: 11.11 MB / 0.9636 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.0003303/0.003325, allocations: 274.1 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.003363, allocations: 12.75 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/0.003642, allocations: 48.81 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.43e-05/0.003726, allocations: 117.8 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.003746, allocations: 384 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.003757, allocations: 384 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.003906, allocations: 87.92 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.003915, allocations: 3.938 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.003928, allocations: 0 / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.003932, allocations: 3.938 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.216e-05/0.004024, allocations: 35.95 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.004312, allocations: 208.6 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.241e-05/0.004394, allocations: 42.55 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.004429, allocations: 24.86 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.004442, allocations: 3.938 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.004463, allocations: 34.5 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.004463, allocations: 0 / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001814/0.004645, allocations: 69.75 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.004671, allocations: 55.41 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.903e-05/0.00473, allocations: 113.8 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.00474, allocations: 25.7 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.998e-05/0.00477, allocations: 80.14 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.004787, allocations: 7.891 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.004815, allocations: 21.67 kB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.004895, allocations: 314.8 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.198e-05/0.004927, allocations: 11.94 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.58e-05/0.004953, allocations: 16.02 kB / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.509e-05/0.005008, allocations: 32.84 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.00501, allocations: 0 / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.278e-05/0.005093, allocations: 57.61 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.005105, allocations: 8 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.005109, allocations: 0 / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.00512, allocations: 0 / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.575e-05/0.005176, allocations: 7.984 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.005181, allocations: 4.031 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.005202, allocations: 8 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.005207, allocations: 0 / 1.004 GB, free: 9.23 MB / 0.9636 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 (2): * Single equations (assignments): 2 * 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 5.382e-05/0.005261, allocations: 113.8 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.005273, allocations: 3.938 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.005298, allocations: 11.55 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.0053, allocations: 0 / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.005303, allocations: 4 kB / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.005305, allocations: 0 / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.871e-05/0.005394, allocations: 109.3 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.1e-07/0.005395, allocations: 4 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.347e-05/0.005418, allocations: 8 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.00542, allocations: 3.938 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.005427, allocations: 0 / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.92e-07/0.005427, allocations: 3.938 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.005428, allocations: 0 / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.005533, allocations: 155.5 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.005557, allocations: 11.92 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-06/0.005567, allocations: 0 / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.502e-05/0.005602, allocations: 8.031 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.005616, allocations: 0 / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.005619, allocations: 3.984 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.129e-05/0.00565, allocations: 91.22 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00565, allocations: 0 / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001329/0.005783, allocations: 4 kB / 1.005 GB, free: 8.645 MB / 0.9636 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 (2): * Single equations (assignments): 2 * 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 7.257e-05/0.005856, allocations: 95.25 kB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.983e-05/0.005956, allocations: 31.97 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.005957, allocations: 0 / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.614e-05/0.005983, allocations: 15.98 kB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.006155, allocations: 6.219 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/0.006423, allocations: 163.1 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.29e-05/0.006466, allocations: 67.28 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.125e-05/0.006497, allocations: 12.62 kB / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.006498, allocations: 0 / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of Templates: time 0.001367/0.007865, allocations: 0.5876 MB / 1.006 GB, free: 7.625 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.836401756852865]