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.001347/0.001347, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.00175/0.00175, allocations: 212.4 kB / 23.04 MB, free: 4.863 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.247/3.247, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.002804/0.002804, allocations: 68.89 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4242, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2218/0.646, allocations: 170.5 MB / 1.494 GB, free: 5.875 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006852/0.6528, allocations: 3.791 MB / 1.497 GB, free: 2.078 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.6539, allocations: 31.75 kB / 1.497 GB, free: 2.047 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.6553, allocations: 457.1 kB / 1.498 GB, free: 1.598 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004277/0.6596, allocations: 1.559 MB / 1.499 GB, free: 32 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003807/0.6634, allocations: 1.389 MB / 1.501 GB, free: 14.64 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002704/0.6661, allocations: 1.628 MB / 1.502 GB, free: 13.01 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.6673, allocations: 0.8538 MB / 1.503 GB, free: 12.14 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/0.6697, allocations: 1.118 MB / 1.504 GB, free: 11.02 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.6711, allocations: 0.833 MB / 1.505 GB, free: 10.19 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001649/0.6712, allocations: 96 kB / 1.505 GB, free: 10.09 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002438/0.6737, allocations: 1.095 MB / 1.506 GB, free: 8.996 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004428/0.6741, allocations: 366.9 kB / 1.507 GB, free: 8.637 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006154/0.6747, allocations: 466.1 kB / 1.507 GB, free: 8.18 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002846/0.6776, allocations: 1.639 MB / 1.509 GB, free: 6.535 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.6776, allocations: 0 / 1.509 GB, free: 6.535 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.644e-06/0.6776, allocations: 0 / 1.509 GB, free: 6.535 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.6776, allocations: 0 / 1.509 GB, free: 6.535 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.002678/0.6803, allocations: 1.189 MB / 1.51 GB, free: 5.309 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.6803, allocations: 8.031 kB / 1.51 GB, free: 5.301 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.6818, allocations: 243.2 kB / 1.51 GB, free: 5.062 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.6829, allocations: 0.5615 MB / 1.51 GB, free: 4.469 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.6829, allocations: 37 kB / 1.511 GB, free: 4.434 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.683, allocations: 48 kB / 1.511 GB, free: 4.387 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.6847, allocations: 1.046 MB / 1.512 GB, free: 3.262 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.6847, allocations: 4 kB / 1.512 GB, free: 3.258 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.417e-05/0.6848, allocations: 24 kB / 1.512 GB, free: 3.234 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.75e-05/0.6848, allocations: 31.92 kB / 1.512 GB, free: 3.203 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.6865, allocations: 1.007 MB / 1.513 GB, free: 2.195 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005308/0.6918, allocations: 3.592 MB / 1.516 GB, free: 14.5 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.6929, allocations: 0.5599 MB / 1.517 GB, free: 13.93 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008068/0.6937, allocations: 489.9 kB / 1.517 GB, free: 13.44 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007149/0.6944, allocations: 136.3 kB / 1.517 GB, free: 13.31 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.6944, allocations: 39 kB / 1.517 GB, free: 13.26 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002274/0.6967, allocations: 0.6128 MB / 1.518 GB, free: 12.65 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 4.007e-06/0.6967, allocations: 3.938 kB / 1.518 GB, free: 12.64 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.01723/0.7139, allocations: 3.66 MB / 1.522 GB, free: 8.969 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.212e-05/0.714, allocations: 59.84 kB / 1.522 GB, free: 8.898 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.715, allocations: 0.5626 MB / 1.522 GB, free: 8.324 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002205/0.7153, allocations: 29.7 kB / 1.522 GB, free: 8.289 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.7156, allocations: 341.1 kB / 1.522 GB, free: 7.949 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/0.7158, allocations: 182.4 kB / 1.523 GB, free: 7.77 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/0.7162, allocations: 150 kB / 1.523 GB, free: 7.617 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002465/0.7164, allocations: 374.8 kB / 1.523 GB, free: 7.242 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007558/0.7172, allocations: 392.8 kB / 1.524 GB, free: 6.859 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009058/0.7181, allocations: 0.5315 MB / 1.524 GB, free: 6.289 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/0.7197, allocations: 0.9256 MB / 1.525 GB, free: 5.336 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.7197, allocations: 32 / 1.525 GB, free: 5.336 MB / 1.217 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01134/0.7311, allocations: 2.545 MB / 1.527 GB, free: 2.773 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.7311, allocations: 4 kB / 1.527 GB, free: 2.77 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.7311, allocations: 4 kB / 1.527 GB, free: 2.766 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009387/0.7405, allocations: 1.722 MB / 1.529 GB, free: 1.035 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/0.7411, allocations: 91.86 kB / 1.529 GB, free: 0.9453 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/0.7547, allocations: 6.829 MB / 1.536 GB, free: 9.898 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000874/0.7555, allocations: 23.98 kB / 1.536 GB, free: 9.875 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.871e-05/0.7556, allocations: 47.92 kB / 1.536 GB, free: 9.828 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.0004485/0.7561, allocations: 207.4 kB / 1.536 GB, free: 9.617 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.7563, allocations: 75.53 kB / 1.536 GB, free: 9.543 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004928/0.7612, allocations: 1.711 MB / 1.538 GB, free: 7.82 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.7612, allocations: 8 kB / 1.538 GB, free: 7.812 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.7612, allocations: 7.984 kB / 1.538 GB, free: 7.805 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.7612, allocations: 3.938 kB / 1.538 GB, free: 7.801 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005947/0.7672, allocations: 2.332 MB / 1.54 GB, free: 5.406 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.7672, allocations: 7.922 kB / 1.54 GB, free: 5.398 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/0.7677, allocations: 87.89 kB / 1.54 GB, free: 5.312 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003329/0.771, allocations: 0.8059 MB / 1.541 GB, free: 4.5 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.009e-05/0.7711, allocations: 16 kB / 1.541 GB, free: 4.484 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007165/0.7782, allocations: 4.553 MB / 1.546 GB, free: 15.72 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.7782, allocations: 4 kB / 1.546 GB, free: 15.72 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005531/0.7838, allocations: 2.115 MB / 1.548 GB, free: 13.56 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005335/0.7843, allocations: 151.4 kB / 1.548 GB, free: 13.41 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.7845, allocations: 15.94 kB / 1.548 GB, free: 13.4 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/0.7851, allocations: 19.98 kB / 1.548 GB, free: 13.38 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/0.7854, allocations: 52.48 kB / 1.548 GB, free: 13.33 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.155e-05/0.7854, allocations: 23.98 kB / 1.548 GB, free: 13.3 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006449/0.7861, allocations: 395.1 kB / 1.548 GB, free: 12.92 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.7861, allocations: 0 / 1.548 GB, free: 12.92 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001375/0.7875, allocations: 303.6 kB / 1.548 GB, free: 12.62 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.0004838/0.7879, allocations: 211 kB / 1.549 GB, free: 12.41 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003886/0.7918, allocations: 1.418 MB / 1.55 GB, free: 10.96 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.7918, allocations: 4 kB / 1.55 GB, free: 10.96 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001974/0.7938, allocations: 0.8556 MB / 1.551 GB, free: 10.07 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.7958, allocations: 347.6 kB / 1.551 GB, free: 9.734 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/0.7996, allocations: 1.759 MB / 1.553 GB, free: 7.938 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006309/0.8003, allocations: 388.7 kB / 1.553 GB, free: 7.531 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/0.8006, allocations: 63.41 kB / 1.553 GB, free: 7.469 MB / 1.248 GB Notification: Performance of SimCode: time 1.412e-06/0.8006, allocations: 0 / 1.553 GB, free: 7.469 MB / 1.248 GB Notification: Performance of Templates: time 0.03368/0.8343, allocations: 18.29 MB / 1.571 GB, free: 5.266 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 -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: 15.639698035083711]