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.001665/0.001665, allocations: 82.41 kB / 19.76 MB, free: 1.875 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.001793/0.001793, allocations: 163.2 kB / 23.01 MB, free: 4.594 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.428/1.428, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.835/2.835, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 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.002098/0.002098, allocations: 67.89 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9808/0.9829, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002177/0.9851, allocations: 1.305 MB / 1.155 GB, free: 32.44 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000492/0.9856, allocations: 263.9 kB / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.9856, allocations: 4 kB / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.9856, allocations: 3.938 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.139e-05/0.9857, allocations: 10.38 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.986, allocations: 79.81 kB / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.263e-05/0.986, allocations: 34.78 kB / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.9861, allocations: 5.75 kB / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.9862, allocations: 36.48 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.443e-05/0.9862, allocations: 6.469 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.9862, allocations: 2.531 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.9864, allocations: 79.48 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.9864, allocations: 6.375 kB / 1.156 GB, free: 32.19 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.9864, allocations: 17.11 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.9866, allocations: 79 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9866, allocations: 0 / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9866, allocations: 0 / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.9866, allocations: 0 / 1.156 GB, free: 32.16 MB / 1.076 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.0002915/0.9869, allocations: 281.5 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.9869, allocations: 8.344 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.9869, allocations: 3.75 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.993e-05/0.987, allocations: 117.2 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.987, allocations: 3.25 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.333e-06/0.987, allocations: 384 / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.795e-05/0.9871, allocations: 76.22 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.9871, allocations: 0 / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.9871, allocations: 10.7 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.9871, allocations: 0 / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.9872, allocations: 8.859 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.98e-05/0.9873, allocations: 109.9 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.514e-05/0.9874, allocations: 25.8 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.989e-05/0.9874, allocations: 17.56 kB / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005984/0.988, allocations: 140.6 kB / 1.157 GB, free: 31.47 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.988, allocations: 46.44 kB / 1.157 GB, free: 31.42 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.988, allocations: 0 / 1.157 GB, free: 31.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0001218/0.9881, allocations: 49.52 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.9881, allocations: 51.41 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.635e-05/0.9882, allocations: 108.3 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.523e-06/0.9882, allocations: 25.7 kB / 1.157 GB, free: 31.19 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.241e-05/0.9882, allocations: 87.42 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.9882, allocations: 14.72 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.9882, allocations: 12.66 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.411e-05/0.9883, allocations: 317.7 kB / 1.157 GB, free: 30.76 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.9883, allocations: 10.31 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.05e-05/0.9883, allocations: 6.438 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.063e-05/0.9883, allocations: 16.64 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.9883, allocations: 0 / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.515e-05/0.9884, allocations: 44.81 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.9884, allocations: 9.75 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-06/0.9884, allocations: 4 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.9884, allocations: 0 / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.567e-05/0.9885, allocations: 8.484 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.9885, allocations: 0 / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.659e-05/0.9885, allocations: 0 / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.9885, allocations: 2.562 kB / 1.157 GB, free: 30.7 MB / 1.076 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 3.853e-05/0.9885, allocations: 113.1 kB / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.9885, allocations: 10.73 kB / 1.157 GB, free: 30.57 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.9886, allocations: 62.92 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.9886, allocations: 0 / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.9886, allocations: 0 / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.9886, allocations: 0 / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.998e-05/0.9887, allocations: 110.7 kB / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.9887, allocations: 0 / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.621e-05/0.9887, allocations: 5.625 kB / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.9887, allocations: 0 / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.9887, allocations: 6.844 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9887, allocations: 0 / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.9887, allocations: 0 / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.686e-05/0.9888, allocations: 88.81 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.9888, allocations: 13.2 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.9888, allocations: 3.938 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.829e-05/0.9889, allocations: 0 / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.9889, allocations: 5.828 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.9889, allocations: 2.531 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.224e-05/0.9889, allocations: 87.97 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9889, allocations: 0 / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002027/0.9891, allocations: 25.16 kB / 1.158 GB, free: 30.2 MB / 1.076 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.000124/0.9893, allocations: 130 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.715e-05/0.9893, allocations: 19.12 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9893, allocations: 2.656 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.295e-05/0.9893, allocations: 5.031 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.9895, allocations: 6.344 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001963/0.9897, allocations: 122.5 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.636e-05/0.9897, allocations: 66.17 kB / 1.158 GB, free: 29.9 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.9898, allocations: 7.078 kB / 1.158 GB, free: 29.9 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.9898, allocations: 14.55 kB / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/0.9898, allocations: 0 / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of Templates: time 0.002888/0.9927, allocations: 0.7978 MB / 1.159 GB, free: 29.79 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.750967324944213]