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.001055/0.001055, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.001091/0.001091, allocations: 174.3 kB / 23.21 MB, free: 1.355 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.9473/0.9473, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.74/1.74, allocations: 377.8 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.377e-05, allocations: 9.453 kB / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001602/0.001626, allocations: 1.306 MB / 0.9835 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004314/0.002057, allocations: 271 kB / 0.9837 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.002089, allocations: 4 kB / 0.9837 GB, free: 500 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.002109, allocations: 0 / 0.9837 GB, free: 500 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.002209, allocations: 11.86 kB / 0.9837 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.002476, allocations: 79.7 kB / 0.9838 GB, free: 408 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.458e-05/0.002551, allocations: 35.84 kB / 0.9838 GB, free: 372 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.002595, allocations: 8 kB / 0.9839 GB, free: 364 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.002715, allocations: 27.91 kB / 0.9839 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.002763, allocations: 15.98 kB / 0.9839 GB, free: 320 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.002778, allocations: 0 / 0.9839 GB, free: 320 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.002898, allocations: 75.92 kB / 0.984 GB, free: 244 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.002915, allocations: 7.922 kB / 0.984 GB, free: 236 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.002934, allocations: 11.98 kB / 0.984 GB, free: 224 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.003083, allocations: 87.75 kB / 0.9841 GB, free: 136 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.674e-06/0.003084, allocations: 7.938 kB / 0.9841 GB, free: 128 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003085, allocations: 0 / 0.9841 GB, free: 128 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.00309, allocations: 0 / 0.9841 GB, free: 128 kB / 0.9323 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.0003516/0.003442, allocations: 282.1 kB / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.003481, allocations: 8.031 kB / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.003516, allocations: 12.94 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.319e-05/0.0036, allocations: 109.7 kB / 0.9845 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.003611, allocations: 4.375 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-06/0.00362, allocations: 4.312 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.00373, allocations: 63.95 kB / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.003739, allocations: 3.938 kB / 0.9845 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.003749, allocations: 4 kB / 0.9846 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.003754, allocations: 0 / 0.9846 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.382e-05/0.003787, allocations: 7.984 kB / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.003906, allocations: 109.3 kB / 0.9847 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.932e-05/0.003986, allocations: 34.61 kB / 0.9847 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/0.004006, allocations: 20.86 kB / 0.9847 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004149/0.004421, allocations: 131.9 kB / 0.9848 GB, free: 15.24 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.004446, allocations: 38.5 kB / 0.9849 GB, free: 15.19 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.004447, allocations: 0 / 0.9849 GB, free: 15.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001413/0.004588, allocations: 57.58 kB / 0.9849 GB, free: 15.13 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.004618, allocations: 59.41 kB / 0.985 GB, free: 15.06 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.664e-05/0.004675, allocations: 105.8 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.004687, allocations: 25.7 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.414e-05/0.004711, allocations: 80.14 kB / 0.9852 GB, free: 14.83 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.004735, allocations: 7.953 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.004762, allocations: 21.7 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.77e-05/0.00484, allocations: 314.8 kB / 0.9855 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.004852, allocations: 4 kB / 0.9855 GB, free: 14.48 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.968e-06/0.004862, allocations: 4.188 kB / 0.9855 GB, free: 14.47 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/0.004891, allocations: 20.92 kB / 0.9855 GB, free: 14.45 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.004893, allocations: 4 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.737e-05/0.004941, allocations: 49.59 kB / 0.9856 GB, free: 14.39 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.004953, allocations: 11.98 kB / 0.9856 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.004958, allocations: 0 / 0.9856 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.004971, allocations: 3.938 kB / 0.9856 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.005016, allocations: 4 kB / 0.9856 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.005021, allocations: 4.25 kB / 0.9856 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.16e-05/0.005033, allocations: 4 kB / 0.9856 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.005038, allocations: 0 / 0.9856 GB, free: 14.36 MB / 0.948 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 5.992e-05/0.005098, allocations: 109.8 kB / 0.9857 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.005105, allocations: 8 kB / 0.9857 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.901e-05/0.005204, allocations: 65.66 kB / 0.9858 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.005207, allocations: 3.938 kB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.005211, allocations: 0 / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.005214, allocations: 0 / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.02e-05/0.005284, allocations: 113.2 kB / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.005287, allocations: 3.984 kB / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-05/0.005301, allocations: 4 kB / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.005302, allocations: 4 kB / 0.9859 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.005308, allocations: 0 / 0.9859 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.005309, allocations: 0 / 0.9859 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.005313, allocations: 11.88 kB / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.859e-05/0.005371, allocations: 73.08 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.005402, allocations: 4 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.005413, allocations: 3.984 kB / 0.986 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.987e-05/0.005433, allocations: 0 / 0.986 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.005448, allocations: 7.938 kB / 0.986 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.005452, allocations: 4 kB / 0.986 GB, free: 13.89 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.951e-05/0.005482, allocations: 87.27 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005482, allocations: 7.938 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001381/0.00562, allocations: 27.94 kB / 0.9861 GB, free: 13.77 MB / 0.948 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.0001423/0.005762, allocations: 127.6 kB / 0.9863 GB, free: 13.63 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.84e-05/0.005831, allocations: 15.92 kB / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.005832, allocations: 0 / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.015e-05/0.005842, allocations: 12 kB / 0.9863 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.005981, allocations: 3.938 kB / 0.9863 GB, free: 13.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.006227, allocations: 150.4 kB / 0.9864 GB, free: 13.42 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.109e-05/0.006268, allocations: 67.34 kB / 0.9865 GB, free: 13.34 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.9e-05/0.006287, allocations: 8.5 kB / 0.9865 GB, free: 13.33 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/0.006288, allocations: 0 / 0.9865 GB, free: 13.33 MB / 0.948 GB Notification: Performance of Templates: time 0.001743/0.008031, allocations: 0.7498 MB / 0.9872 GB, free: 12.59 MB / 0.948 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: 6.707831909880042]