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.001952/0.001952, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.002014/0.002014, allocations: 161.7 kB / 23.55 MB, free: 0.875 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 1.555/1.555, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 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 3.067/3.067, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 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.953e-06/1.953e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.299e-05, allocations: 4.438 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002522/0.002555, allocations: 1.286 MB / 0.8121 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003079/0.002863, allocations: 113.3 kB / 0.8122 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.002889, allocations: 0 / 0.8122 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.002907, allocations: 3.938 kB / 0.8122 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.23e-05/0.00298, allocations: 7.984 kB / 0.8122 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.003181, allocations: 40.84 kB / 0.8122 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.354e-05/0.003234, allocations: 16.56 kB / 0.8122 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.00327, allocations: 1.406 kB / 0.8122 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.067e-05/0.003311, allocations: 11.92 kB / 0.8122 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.003361, allocations: 4 kB / 0.8122 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.003375, allocations: 0 / 0.8122 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.003509, allocations: 49.06 kB / 0.8123 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.003523, allocations: 3.984 kB / 0.8123 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.496e-05/0.003538, allocations: 4.688 kB / 0.8123 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.003673, allocations: 47.88 kB / 0.8123 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.003676, allocations: 0.9062 kB / 0.8123 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003676, allocations: 0 / 0.8123 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.00368, allocations: 0 / 0.8123 GB, free: 0.5273 MB / 0.7605 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.0004847/0.004165, allocations: 356.9 kB / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.0042, allocations: 8.906 kB / 0.8127 GB, free: 140 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.00424, allocations: 4.938 kB / 0.8127 GB, free: 136 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.00464, allocations: 117.8 kB / 0.8128 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.004655, allocations: 4.359 kB / 0.8128 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-06/0.004665, allocations: 4.375 kB / 0.8128 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.214e-05/0.004747, allocations: 32.14 kB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.004757, allocations: 7.938 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.004764, allocations: 0 / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.004768, allocations: 0 / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.403e-05/0.004802, allocations: 4 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.00498, allocations: 117.7 kB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.44e-05/0.005054, allocations: 27.06 kB / 0.813 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.005084, allocations: 16.72 kB / 0.813 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004902/0.005574, allocations: 84.67 kB / 0.8131 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.005618, allocations: 41.38 kB / 0.8131 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.804e-06/0.00562, allocations: 0.5 kB / 0.8131 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001623/0.005782, allocations: 42.52 kB / 0.8132 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.00584, allocations: 55.41 kB / 0.8132 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.006021, allocations: 163.6 kB / 0.8134 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.006051, allocations: 25.7 kB / 0.8134 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.006131, allocations: 126.9 kB / 0.8135 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.006156, allocations: 7.891 kB / 0.8135 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.006201, allocations: 23.38 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002764/0.006478, allocations: 493.7 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.916e-05/0.006497, allocations: 4 kB / 0.814 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.776e-06/0.006506, allocations: 3.938 kB / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/0.006548, allocations: 24.3 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.00655, allocations: 0.5 kB / 0.8141 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.123e-05/0.006621, allocations: 35.27 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.00664, allocations: 8 kB / 0.8141 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.006644, allocations: 0 / 0.8141 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.006659, allocations: 3.938 kB / 0.8141 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.702e-05/0.006706, allocations: 0.875 kB / 0.8141 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.006711, allocations: 7.938 kB / 0.8141 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.006728, allocations: 0 / 0.8141 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.006736, allocations: 5.703 kB / 0.8141 GB, free: 14.52 MB / 0.7761 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 0.0001115/0.006848, allocations: 160.5 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.006861, allocations: 7.953 kB / 0.8143 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.006973, allocations: 45.62 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.006977, allocations: 3.938 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.00698, allocations: 0.6875 kB / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.006982, allocations: 0 / 0.8143 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.0071, allocations: 117.2 kB / 0.8144 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.007101, allocations: 0.8125 kB / 0.8144 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/0.007125, allocations: 4 kB / 0.8144 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.007126, allocations: 0.9375 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.007132, allocations: 0 / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.007136, allocations: 4 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.535e-06/0.007143, allocations: 13.25 kB / 0.8145 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.007249, allocations: 72.39 kB / 0.8145 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.998e-06/0.007259, allocations: 4 kB / 0.8145 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.007269, allocations: 0.7812 kB / 0.8145 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.157e-05/0.007291, allocations: 7.984 kB / 0.8145 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.00731, allocations: 5.875 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.007315, allocations: 4 kB / 0.8146 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.057e-05/0.007396, allocations: 123.4 kB / 0.8147 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.007396, allocations: 0 / 0.8147 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001921/0.007588, allocations: 15.94 kB / 0.8147 GB, free: 13.88 MB / 0.7761 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.0001898/0.007777, allocations: 116 kB / 0.8148 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.007881, allocations: 31.06 kB / 0.8148 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.007883, allocations: 0 / 0.8148 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.138e-05/0.007904, allocations: 11.69 kB / 0.8148 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.008096, allocations: 13.8 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002776/0.008374, allocations: 102.5 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.455e-05/0.008439, allocations: 64.31 kB / 0.815 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.279e-05/0.008461, allocations: 1.125 kB / 0.815 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.008481, allocations: 12.44 kB / 0.815 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.008482, allocations: 0 / 0.815 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.003429/0.01191, allocations: 0.666 MB / 0.8157 GB, free: 12.84 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 240] 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: 7.911672768066637]