Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.001774/0.001774, allocations: 80.67 kB / 19.18 MB, free: 2.527 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.001818/0.001818, allocations: 166.5 kB / 22.46 MB, free: 5.355 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.5/1.5, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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 2.832/2.832, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] 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.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.9814 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.326e-05/3.476e-05, allocations: 6.281 kB / 0.9814 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00296/0.002995, allocations: 1.267 MB / 0.9827 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003435/0.003339, allocations: 99.61 kB / 0.9828 GB, free: 9.547 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.00337, allocations: 4 kB / 0.9828 GB, free: 9.543 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.327e-05/0.003393, allocations: 3.938 kB / 0.9828 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.279e-05/0.003466, allocations: 3.984 kB / 0.9828 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.00371, allocations: 43.83 kB / 0.9828 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.288e-05/0.003773, allocations: 15.92 kB / 0.9828 GB, free: 9.477 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.245e-05/0.003825, allocations: 3.984 kB / 0.9828 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.948e-05/0.003865, allocations: 7.938 kB / 0.9828 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.00393, allocations: 7.984 kB / 0.9829 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.003946, allocations: 4 kB / 0.9829 GB, free: 9.453 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.00409, allocations: 47.89 kB / 0.9829 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.004108, allocations: 11.92 kB / 0.9829 GB, free: 9.395 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.004129, allocations: 4 kB / 0.9829 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.004282, allocations: 43.92 kB / 0.983 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.004285, allocations: 0 / 0.983 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004286, allocations: 0 / 0.983 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.00429, allocations: 0 / 0.983 GB, free: 9.348 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004298/0.004719, allocations: 262.2 kB / 0.9832 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.004763, allocations: 15.97 kB / 0.9832 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.004792, allocations: 0.9375 kB / 0.9832 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.004931, allocations: 105.8 kB / 0.9833 GB, free: 8.918 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.004942, allocations: 384 / 0.9833 GB, free: 8.918 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.004956, allocations: 4.359 kB / 0.9833 GB, free: 8.914 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.005058, allocations: 38.19 kB / 0.9834 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.005069, allocations: 3.938 kB / 0.9834 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.005078, allocations: 0 / 0.9834 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.005086, allocations: 4 kB / 0.9834 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.532e-05/0.005121, allocations: 4 kB / 0.9834 GB, free: 8.859 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.005283, allocations: 97.33 kB / 0.9835 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.038e-05/0.005373, allocations: 34.59 kB / 0.9835 GB, free: 8.691 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.094e-05/0.005394, allocations: 4.859 kB / 0.9835 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004879/0.005882, allocations: 83.98 kB / 0.9836 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.005912, allocations: 34.5 kB / 0.9836 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.005913, allocations: 0 / 0.9836 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001757/0.006089, allocations: 53.58 kB / 0.9837 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.006135, allocations: 51.41 kB / 0.9837 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.706e-05/0.006232, allocations: 93.98 kB / 0.9838 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.006251, allocations: 29.7 kB / 0.9838 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.006301, allocations: 80.14 kB / 0.9839 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.006332, allocations: 11.95 kB / 0.9839 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.006373, allocations: 13.7 kB / 0.9839 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.006513, allocations: 314.8 kB / 0.9842 GB, free: 7.871 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.006529, allocations: 4 kB / 0.9842 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.562e-05/0.006545, allocations: 8 kB / 0.9843 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.189e-05/0.006577, allocations: 12.8 kB / 0.9843 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.006578, allocations: 0 / 0.9843 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.529e-05/0.006653, allocations: 45.75 kB / 0.9843 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.006671, allocations: 8 kB / 0.9843 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.006677, allocations: 0 / 0.9843 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.006698, allocations: 3.938 kB / 0.9843 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.681e-05/0.006755, allocations: 4 kB / 0.9843 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.00676, allocations: 0 / 0.9843 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.006777, allocations: 0 / 0.9843 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.006782, allocations: 7.875 kB / 0.9843 GB, free: 7.77 MB / 0.8887 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 9.119e-05/0.006873, allocations: 109.8 kB / 0.9844 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.006882, allocations: 0 / 0.9844 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.006992, allocations: 56.91 kB / 0.9845 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.006996, allocations: 3.938 kB / 0.9845 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.007002, allocations: 0 / 0.9845 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.007004, allocations: 0 / 0.9845 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.007106, allocations: 105.3 kB / 0.9846 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.007108, allocations: 0 / 0.9846 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.353e-05/0.007131, allocations: 4 kB / 0.9846 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.007133, allocations: 0 / 0.9846 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.00714, allocations: 0 / 0.9846 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.007142, allocations: 4 kB / 0.9846 GB, free: 7.449 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.007146, allocations: 3.938 kB / 0.9846 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.209e-05/0.007238, allocations: 77.05 kB / 0.9847 GB, free: 7.352 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.007249, allocations: 4 kB / 0.9847 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.00726, allocations: 0 / 0.9847 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.562e-05/0.007275, allocations: 0 / 0.9847 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.007297, allocations: 3.938 kB / 0.9847 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.007302, allocations: 4 kB / 0.9847 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.729e-05/0.007349, allocations: 83.44 kB / 0.9848 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.007349, allocations: 0 / 0.9848 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002036/0.007553, allocations: 15.94 kB / 0.9848 GB, free: 7.242 MB / 0.8887 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 0.0001997/0.007752, allocations: 119.8 kB / 0.9849 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 7.708e-05/0.007829, allocations: 4 kB / 0.9849 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.007831, allocations: 4 kB / 0.9849 GB, free: 7.105 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.101e-05/0.007842, allocations: 3.938 kB / 0.9849 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.008077, allocations: 8 kB / 0.9849 GB, free: 7.094 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.008401, allocations: 100.8 kB / 0.985 GB, free: 6.969 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.173e-05/0.008452, allocations: 59.34 kB / 0.9851 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 3.062e-05/0.008483, allocations: 8.125 kB / 0.9851 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.008505, allocations: 8.5 kB / 0.9851 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of SimCode: time 3.81e-07/0.008505, allocations: 0 / 0.9851 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of Templates: time 0.00353/0.01204, allocations: 0.6495 MB / 0.9857 GB, free: 6.23 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.484807141125202]