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.001636/0.001636, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00196/0.00196, allocations: 212.8 kB / 22.99 MB, free: 4.945 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.763/2.763, allocations: 476 MB / 0.7707 GB, free: 4.711 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002094/0.002094, allocations: 65.23 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3375, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2218/0.5593, allocations: 170.4 MB / 1.45 GB, free: 0.8984 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006773/0.5661, allocations: 3.793 MB / 1.454 GB, free: 13.1 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008044/0.5669, allocations: 27.75 kB / 1.454 GB, free: 13.07 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.5682, allocations: 461.1 kB / 1.454 GB, free: 12.62 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003795/0.572, allocations: 1.574 MB / 1.456 GB, free: 11.04 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003504/0.5755, allocations: 1.384 MB / 1.457 GB, free: 9.652 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002417/0.5779, allocations: 1.648 MB / 1.459 GB, free: 7.996 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.5791, allocations: 0.8382 MB / 1.46 GB, free: 7.145 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.5807, allocations: 0.958 MB / 1.461 GB, free: 6.184 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.582, allocations: 0.8564 MB / 1.461 GB, free: 5.324 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.5822, allocations: 100 kB / 1.462 GB, free: 5.227 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002305/0.5845, allocations: 1.102 MB / 1.463 GB, free: 4.121 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004231/0.5849, allocations: 374.9 kB / 1.463 GB, free: 3.754 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005497/0.5855, allocations: 466.1 kB / 1.463 GB, free: 3.297 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00247/0.588, allocations: 1.643 MB / 1.465 GB, free: 1.648 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.588, allocations: 0 / 1.465 GB, free: 1.648 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.553e-06/0.588, allocations: 0 / 1.465 GB, free: 1.648 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.588, allocations: 0 / 1.465 GB, free: 1.648 MB / 1.154 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.00271/0.5907, allocations: 1.189 MB / 1.466 GB, free: 436 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.5907, allocations: 12.03 kB / 1.466 GB, free: 424 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/0.5922, allocations: 239.2 kB / 1.466 GB, free: 184 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.5934, allocations: 0.5538 MB / 1.467 GB, free: 15.6 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.5934, allocations: 40.98 kB / 1.467 GB, free: 15.56 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.5935, allocations: 48 kB / 1.467 GB, free: 15.51 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.5953, allocations: 1.05 MB / 1.468 GB, free: 14.38 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.5953, allocations: 4 kB / 1.468 GB, free: 14.37 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.546e-05/0.5954, allocations: 20 kB / 1.468 GB, free: 14.35 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-05/0.5954, allocations: 31.98 kB / 1.468 GB, free: 14.32 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/0.5972, allocations: 1.011 MB / 1.469 GB, free: 13.31 MB / 1.17 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.005382/0.6026, allocations: 3.592 MB / 1.473 GB, free: 9.602 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.6036, allocations: 0.5548 MB / 1.473 GB, free: 9.039 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008318/0.6044, allocations: 485.9 kB / 1.474 GB, free: 8.562 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007034/0.6051, allocations: 140.2 kB / 1.474 GB, free: 8.426 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/0.6052, allocations: 46.98 kB / 1.474 GB, free: 8.367 MB / 1.17 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002321/0.6075, allocations: 0.6089 MB / 1.474 GB, free: 7.758 MB / 1.17 GB Notification: Performance of pre-optimization done (n=50): time 3.967e-06/0.6075, allocations: 0 / 1.474 GB, free: 7.758 MB / 1.17 GB Notification: Performance of matching and sorting (n=50): time 0.01808/0.6256, allocations: 3.668 MB / 1.478 GB, free: 4.078 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.6257, allocations: 55.84 kB / 1.478 GB, free: 4.012 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009356/0.6266, allocations: 0.5665 MB / 1.479 GB, free: 3.438 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.6267, allocations: 37.69 kB / 1.479 GB, free: 3.395 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.627, allocations: 333.1 kB / 1.479 GB, free: 3.062 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/0.6273, allocations: 190.3 kB / 1.479 GB, free: 2.875 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002912/0.6276, allocations: 146 kB / 1.479 GB, free: 2.727 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002201/0.6278, allocations: 374.8 kB / 1.48 GB, free: 2.352 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007679/0.6286, allocations: 400.7 kB / 1.48 GB, free: 1.961 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008685/0.6295, allocations: 0.5276 MB / 1.481 GB, free: 1.398 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.6311, allocations: 0.918 MB / 1.481 GB, free: 464 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.6311, allocations: 4 kB / 1.481 GB, free: 460 kB / 1.17 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01181/0.6429, allocations: 2.537 MB / 1.484 GB, free: 13.89 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.643, allocations: 4 kB / 1.484 GB, free: 13.89 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.643, allocations: 4 kB / 1.484 GB, free: 13.89 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009901/0.6529, allocations: 1.726 MB / 1.486 GB, free: 12.15 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/0.6534, allocations: 91.81 kB / 1.486 GB, free: 12.06 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/0.6675, allocations: 6.828 MB / 1.492 GB, free: 5.016 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008919/0.6684, allocations: 23.98 kB / 1.492 GB, free: 4.992 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.6686, allocations: 47.92 kB / 1.492 GB, free: 4.945 MB / 1.186 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.0005645/0.6691, allocations: 205.8 kB / 1.493 GB, free: 4.734 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/0.6695, allocations: 71.53 kB / 1.493 GB, free: 4.664 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005685/0.6751, allocations: 1.711 MB / 1.494 GB, free: 2.938 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.6752, allocations: 8 kB / 1.494 GB, free: 2.93 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.6752, allocations: 0 / 1.494 GB, free: 2.93 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.6752, allocations: 15.92 kB / 1.494 GB, free: 2.914 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006625/0.6818, allocations: 2.32 MB / 1.497 GB, free: 0.5273 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.6818, allocations: 3.938 kB / 1.497 GB, free: 0.5234 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/0.6823, allocations: 87.89 kB / 1.497 GB, free: 448 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00365/0.6859, allocations: 0.8021 MB / 1.498 GB, free: 15.62 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.267e-05/0.686, allocations: 19.98 kB / 1.498 GB, free: 15.61 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007885/0.6939, allocations: 4.556 MB / 1.502 GB, free: 10.85 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.6939, allocations: 7.938 kB / 1.502 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005987/0.6999, allocations: 2.119 MB / 1.504 GB, free: 8.68 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005964/0.7005, allocations: 143.4 kB / 1.504 GB, free: 8.539 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.7007, allocations: 12 kB / 1.504 GB, free: 8.527 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006574/0.7013, allocations: 23.98 kB / 1.504 GB, free: 8.504 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/0.7016, allocations: 52.41 kB / 1.504 GB, free: 8.453 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-05/0.7016, allocations: 23.98 kB / 1.504 GB, free: 8.43 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000641/0.7023, allocations: 399.1 kB / 1.505 GB, free: 8.043 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.7023, allocations: 0 / 1.505 GB, free: 8.043 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001221/0.7035, allocations: 303.5 kB / 1.505 GB, free: 7.746 MB / 1.201 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.0005013/0.704, allocations: 216.5 kB / 1.505 GB, free: 7.527 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003954/0.7079, allocations: 1.406 MB / 1.507 GB, free: 6.098 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.7079, allocations: 256 / 1.507 GB, free: 6.098 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00207/0.71, allocations: 0.8555 MB / 1.507 GB, free: 5.215 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.712, allocations: 349.4 kB / 1.508 GB, free: 4.879 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.7157, allocations: 1.777 MB / 1.509 GB, free: 3.051 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.7162, allocations: 384.7 kB / 1.51 GB, free: 2.645 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.7165, allocations: 63.41 kB / 1.51 GB, free: 2.582 MB / 1.201 GB Notification: Performance of SimCode: time 1.593e-06/0.7165, allocations: 0 / 1.51 GB, free: 2.582 MB / 1.201 GB Notification: Performance of Templates: time 0.02963/0.7461, allocations: 18.29 MB / 1.528 GB, free: 388 kB / 1.217 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/jenkins1/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: 14.005896151997149]