Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001297/0.001297, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001436/0.001436, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.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 3.193/3.193, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 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.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_12_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_12_Buildings.Airflow.Multizone.Examples.PowerLaw") [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.002077/0.002077, allocations: 62.67 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3603, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2219/0.5822, allocations: 170.5 MB / 1.494 GB, free: 5.918 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00699/0.5892, allocations: 3.778 MB / 1.497 GB, free: 2.133 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000933/0.5901, allocations: 27.75 kB / 1.497 GB, free: 2.105 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.5914, allocations: 457 kB / 1.498 GB, free: 1.656 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004157/0.5956, allocations: 1.563 MB / 1.499 GB, free: 88 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004035/0.5996, allocations: 1.402 MB / 1.501 GB, free: 14.68 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002625/0.6022, allocations: 1.628 MB / 1.502 GB, free: 13.05 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.6035, allocations: 0.846 MB / 1.503 GB, free: 12.19 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.6058, allocations: 1.122 MB / 1.504 GB, free: 11.07 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.6073, allocations: 0.9073 MB / 1.505 GB, free: 10.16 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001963/0.6075, allocations: 103.9 kB / 1.505 GB, free: 10.05 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.6099, allocations: 1.102 MB / 1.506 GB, free: 8.949 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004464/0.6104, allocations: 362.9 kB / 1.507 GB, free: 8.594 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006277/0.611, allocations: 466.1 kB / 1.507 GB, free: 8.137 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002826/0.6138, allocations: 1.639 MB / 1.509 GB, free: 6.492 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.6138, allocations: 4 kB / 1.509 GB, free: 6.488 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6138, allocations: 4 kB / 1.509 GB, free: 6.484 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.6138, allocations: 0 / 1.509 GB, free: 6.484 MB / 1.201 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.003158/0.617, allocations: 1.181 MB / 1.51 GB, free: 5.266 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.617, allocations: 16.02 kB / 1.51 GB, free: 5.25 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.6188, allocations: 239.2 kB / 1.51 GB, free: 5.016 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.62, allocations: 0.5577 MB / 1.511 GB, free: 4.426 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.62, allocations: 33 kB / 1.511 GB, free: 4.395 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.6202, allocations: 52 kB / 1.511 GB, free: 4.344 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.6221, allocations: 1.054 MB / 1.512 GB, free: 3.211 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.6221, allocations: 3.938 kB / 1.512 GB, free: 3.207 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.6222, allocations: 24 kB / 1.512 GB, free: 3.184 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-05/0.6223, allocations: 27.98 kB / 1.512 GB, free: 3.156 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.6241, allocations: 1.011 MB / 1.513 GB, free: 2.145 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005899/0.63, allocations: 3.592 MB / 1.516 GB, free: 14.45 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.6311, allocations: 0.5555 MB / 1.517 GB, free: 13.88 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008623/0.6319, allocations: 489.8 kB / 1.517 GB, free: 13.39 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007747/0.6327, allocations: 132.3 kB / 1.517 GB, free: 13.27 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.6327, allocations: 39 kB / 1.517 GB, free: 13.22 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002614/0.6354, allocations: 0.6206 MB / 1.518 GB, free: 12.6 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 3.637e-06/0.6354, allocations: 0 / 1.518 GB, free: 12.6 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.01972/0.6551, allocations: 3.66 MB / 1.522 GB, free: 8.922 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.6552, allocations: 59.84 kB / 1.522 GB, free: 8.852 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008932/0.6561, allocations: 0.5587 MB / 1.522 GB, free: 8.281 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000178/0.6563, allocations: 37.7 kB / 1.522 GB, free: 8.238 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.6566, allocations: 341.1 kB / 1.522 GB, free: 7.898 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.6568, allocations: 178.4 kB / 1.523 GB, free: 7.723 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003103/0.6571, allocations: 154 kB / 1.523 GB, free: 7.566 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002308/0.6573, allocations: 374.8 kB / 1.523 GB, free: 7.191 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000722/0.658, allocations: 392.8 kB / 1.524 GB, free: 6.809 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008547/0.6589, allocations: 0.5276 MB / 1.524 GB, free: 6.242 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.6605, allocations: 0.9219 MB / 1.525 GB, free: 5.293 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6605, allocations: 0 / 1.525 GB, free: 5.293 MB / 1.217 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01253/0.6731, allocations: 2.545 MB / 1.527 GB, free: 2.73 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.6731, allocations: 12.12 kB / 1.527 GB, free: 2.719 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.6731, allocations: 3.938 kB / 1.527 GB, free: 2.715 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/0.6835, allocations: 1.722 MB / 1.529 GB, free: 0.9844 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005164/0.684, allocations: 95.86 kB / 1.529 GB, free: 0.8906 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01393/0.698, allocations: 6.83 MB / 1.536 GB, free: 9.844 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008928/0.6989, allocations: 23.98 kB / 1.536 GB, free: 9.82 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.699, allocations: 51.92 kB / 1.536 GB, free: 9.77 MB / 1.232 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.0004784/0.6995, allocations: 209.7 kB / 1.536 GB, free: 9.555 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.6997, allocations: 71.53 kB / 1.536 GB, free: 9.484 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005501/0.7052, allocations: 1.711 MB / 1.538 GB, free: 7.762 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.7052, allocations: 8 kB / 1.538 GB, free: 7.754 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.7052, allocations: 4 kB / 1.538 GB, free: 7.75 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.7052, allocations: 7.922 kB / 1.538 GB, free: 7.742 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006514/0.7117, allocations: 2.328 MB / 1.54 GB, free: 5.352 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/0.7117, allocations: 8.188 kB / 1.54 GB, free: 5.344 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004781/0.7122, allocations: 91.83 kB / 1.54 GB, free: 5.254 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003791/0.716, allocations: 0.79 MB / 1.541 GB, free: 4.457 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.771e-05/0.7161, allocations: 16 kB / 1.541 GB, free: 4.441 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007568/0.7236, allocations: 4.567 MB / 1.546 GB, free: 15.66 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.7236, allocations: 3.938 kB / 1.546 GB, free: 15.66 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005958/0.7296, allocations: 2.123 MB / 1.548 GB, free: 13.5 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000498/0.7301, allocations: 135.5 kB / 1.548 GB, free: 13.36 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.7302, allocations: 15.94 kB / 1.548 GB, free: 13.35 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000566/0.7308, allocations: 27.98 kB / 1.548 GB, free: 13.32 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.731, allocations: 48.41 kB / 1.548 GB, free: 13.27 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.509e-05/0.731, allocations: 23.98 kB / 1.548 GB, free: 13.25 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005267/0.7316, allocations: 403 kB / 1.548 GB, free: 12.86 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.7316, allocations: 0 / 1.548 GB, free: 12.86 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001035/0.7326, allocations: 303.6 kB / 1.549 GB, free: 12.56 MB / 1.248 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.0004205/0.733, allocations: 194.9 kB / 1.549 GB, free: 12.36 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003864/0.7369, allocations: 1.422 MB / 1.55 GB, free: 10.91 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7369, allocations: 0 / 1.55 GB, free: 10.91 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002009/0.7389, allocations: 0.8675 MB / 1.551 GB, free: 10.02 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.7406, allocations: 349.9 kB / 1.551 GB, free: 9.68 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.7438, allocations: 1.71 MB / 1.553 GB, free: 7.93 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.7443, allocations: 388.7 kB / 1.553 GB, free: 7.523 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0005452/0.7449, allocations: 145.2 kB / 1.553 GB, free: 7.379 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.7451, allocations: 59.42 kB / 1.554 GB, free: 7.32 MB / 1.248 GB Notification: Performance of SimCode: time 8.71e-07/0.7451, allocations: 0 / 1.554 GB, free: 7.32 MB / 1.248 GB Notification: Performance of Templates: time 0.03741/0.7825, allocations: 22.52 MB / 1.576 GB, free: 1.152 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.772725764007191]