Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.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.002014/0.002014, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.002425/0.002425, allocations: 158.5 kB / 22.46 MB, free: 5.375 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.519/1.519, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.706/2.706, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.9509 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.182e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.792/0.792, allocations: 170.2 MB / 1.117 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006741/0.7988, allocations: 3.785 MB / 1.121 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.7999, allocations: 31.06 kB / 1.121 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.8015, allocations: 465.3 kB / 1.121 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005377/0.8069, allocations: 1.611 MB / 1.123 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005398/0.8123, allocations: 1.445 MB / 1.124 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003867/0.8161, allocations: 1.675 MB / 1.126 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.818, allocations: 0.8459 MB / 1.127 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002928/0.8209, allocations: 1.211 MB / 1.128 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.8225, allocations: 0.7916 MB / 1.129 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002063/0.8227, allocations: 98.47 kB / 1.129 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003169/0.8259, allocations: 1.121 MB / 1.13 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005937/0.8265, allocations: 384.3 kB / 1.13 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008748/0.8273, allocations: 402 kB / 1.131 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00431/0.8317, allocations: 1.768 MB / 1.132 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.8317, allocations: 2 kB / 1.132 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8317, allocations: 2.062 kB / 1.132 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.254e-05/0.8317, allocations: 0 / 1.132 GB, free: 11.5 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.003362/0.8351, allocations: 1.176 MB / 1.134 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/0.8351, allocations: 9.719 kB / 1.134 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.837, allocations: 249.2 kB / 1.134 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.8382, allocations: 0.5462 MB / 1.134 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.8383, allocations: 43.12 kB / 1.134 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.8384, allocations: 56.92 kB / 1.134 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.8405, allocations: 1.05 MB / 1.135 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.8405, allocations: 5.891 kB / 1.135 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.751e-05/0.8406, allocations: 20.72 kB / 1.136 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.408e-05/0.8407, allocations: 29.88 kB / 1.136 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.8427, allocations: 1.003 MB / 1.137 GB, free: 10.3 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005348/0.848, allocations: 3.587 MB / 1.14 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.8491, allocations: 0.5581 MB / 1.141 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008447/0.85, allocations: 491 kB / 1.141 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008089/0.8508, allocations: 138.5 kB / 1.141 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.8508, allocations: 41.81 kB / 1.141 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002701/0.8535, allocations: 0.6164 MB / 1.142 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=50): time 4.698e-06/0.8535, allocations: 0.875 kB / 1.142 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=50): time 0.01961/0.8732, allocations: 3.667 MB / 1.145 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.8732, allocations: 61.5 kB / 1.145 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.8742, allocations: 0.5548 MB / 1.146 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002649/0.8745, allocations: 36.45 kB / 1.146 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.8747, allocations: 331.8 kB / 1.146 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.8749, allocations: 183.9 kB / 1.147 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/0.8752, allocations: 148.7 kB / 1.147 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.8753, allocations: 373.9 kB / 1.147 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007233/0.876, allocations: 397 kB / 1.147 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007571/0.8768, allocations: 0.5261 MB / 1.148 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.8783, allocations: 0.9201 MB / 1.149 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.8783, allocations: 1.25 kB / 1.149 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01228/0.8906, allocations: 2.548 MB / 1.151 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.8906, allocations: 8.906 kB / 1.151 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.8906, allocations: 5.969 kB / 1.151 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01051/0.9011, allocations: 1.729 MB / 1.153 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.9017, allocations: 94.89 kB / 1.153 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/0.9151, allocations: 6.819 MB / 1.16 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.9164, allocations: 19.41 kB / 1.16 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.9165, allocations: 48.91 kB / 1.16 GB, free: 4.246 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008098/0.9173, allocations: 204 kB / 1.16 GB, free: 20.13 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.9175, allocations: 75.83 kB / 1.16 GB, free: 20.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005403/0.9229, allocations: 1.72 MB / 1.162 GB, free: 19.95 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.923, allocations: 6.594 kB / 1.162 GB, free: 19.95 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.923, allocations: 3.375 kB / 1.162 GB, free: 19.95 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.923, allocations: 4.219 kB / 1.162 GB, free: 19.95 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006538/0.9295, allocations: 2.33 MB / 1.164 GB, free: 19.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.9295, allocations: 2.875 kB / 1.164 GB, free: 19.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005194/0.93, allocations: 85.66 kB / 1.164 GB, free: 19.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003664/0.9337, allocations: 0.7973 MB / 1.165 GB, free: 19.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.399e-05/0.9338, allocations: 16.11 kB / 1.165 GB, free: 19.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007273/0.9411, allocations: 4.558 MB / 1.169 GB, free: 17.09 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.9411, allocations: 2.781 kB / 1.169 GB, free: 17.09 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005631/0.9467, allocations: 2.128 MB / 1.171 GB, free: 16.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005434/0.9473, allocations: 140.6 kB / 1.172 GB, free: 16.53 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.9474, allocations: 13.34 kB / 1.172 GB, free: 16.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006136/0.948, allocations: 21.7 kB / 1.172 GB, free: 16.52 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/0.9482, allocations: 56.16 kB / 1.172 GB, free: 16.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/0.9483, allocations: 23.86 kB / 1.172 GB, free: 16.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005155/0.9488, allocations: 404.4 kB / 1.172 GB, free: 16.32 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.9488, allocations: 0 / 1.172 GB, free: 16.32 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001245/0.95, allocations: 304.8 kB / 1.172 GB, free: 16.26 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004226/0.9504, allocations: 217.6 kB / 1.173 GB, free: 16.14 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003693/0.9541, allocations: 1.398 MB / 1.174 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.9541, allocations: 1.625 kB / 1.174 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001805/0.9559, allocations: 0.8568 MB / 1.175 GB, free: 15.09 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.958, allocations: 348.6 kB / 1.175 GB, free: 14.98 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.9609, allocations: 1.61 MB / 1.177 GB, free: 14.08 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.9613, allocations: 388.7 kB / 1.177 GB, free: 13.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006431/0.9619, allocations: 142.3 kB / 1.177 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.9621, allocations: 62.69 kB / 1.177 GB, free: 13.91 MB / 1.014 GB Notification: Performance of SimCode: time 1.513e-06/0.9621, allocations: 0 / 1.177 GB, free: 13.91 MB / 1.014 GB Notification: Performance of Templates: time 0.03477/0.9969, allocations: 21.02 MB / 1.198 GB, free: 6.211 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.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: 9.55677218735218]