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.001188/0.001188, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001518/0.001518, allocations: 169 kB / 23.82 MB, free: 0.7383 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 0.9884/0.9884, allocations: 177.1 MB / 204.2 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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 1.838/1.838, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 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 2.575e-06/2.575e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.409e-05/3.667e-05, allocations: 4.719 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1431/0.1432, allocations: 149.6 MB / 0.9331 GB, free: 6.469 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.004236/0.1474, allocations: 2.3 MB / 0.9354 GB, free: 4.164 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009141/0.1483, allocations: 27.81 kB / 0.9354 GB, free: 4.137 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0008182/0.1491, allocations: 222.3 kB / 0.9356 GB, free: 3.918 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.1511, allocations: 0.8467 MB / 0.9365 GB, free: 3.066 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.1527, allocations: 0.6429 MB / 0.9371 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002621/0.1553, allocations: 1.631 MB / 0.9387 GB, free: 0.7812 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.1566, allocations: 0.92 MB / 0.9396 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001807/0.1584, allocations: 0.9899 MB / 0.9405 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.1596, allocations: 0.7948 MB / 0.9413 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0002877/0.1599, allocations: 100 kB / 0.9414 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.161, allocations: 438.9 kB / 0.9418 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003701/0.1614, allocations: 386.9 kB / 0.9422 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0006193/0.162, allocations: 407 kB / 0.9426 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001925/0.1639, allocations: 1.129 MB / 0.9437 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1639, allocations: 0 / 0.9437 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1639, allocations: 0 / 0.9437 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.504e-05/0.1639, allocations: 0 / 0.9437 GB, free: 11.62 MB / 0.9011 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.002326/0.1663, allocations: 1.234 MB / 0.9449 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.1663, allocations: 16.03 kB / 0.9449 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.1674, allocations: 319.7 kB / 0.9452 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009688/0.1684, allocations: 0.5645 MB / 0.9458 GB, free: 9.426 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.1684, allocations: 37 kB / 0.9458 GB, free: 9.387 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.961e-05/0.1685, allocations: 51.98 kB / 0.9459 GB, free: 9.336 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.1696, allocations: 0.8726 MB / 0.9467 GB, free: 8.355 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.1696, allocations: 7.938 kB / 0.9467 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.604e-05/0.1696, allocations: 20 kB / 0.9467 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.233e-05/0.1697, allocations: 27.98 kB / 0.9468 GB, free: 8.301 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007645/0.1704, allocations: 0.5052 MB / 0.9473 GB, free: 7.793 MB / 0.9011 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.00401/0.1745, allocations: 4.316 MB / 0.9515 GB, free: 3.336 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000909/0.1754, allocations: 340.7 kB / 0.9518 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/0.1758, allocations: 285 kB / 0.9521 GB, free: 2.707 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004131/0.1762, allocations: 116.4 kB / 0.9522 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.1762, allocations: 41.89 kB / 0.9522 GB, free: 2.543 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001329/0.1775, allocations: 0.6283 MB / 0.9528 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=50): time 7.905e-06/0.1775, allocations: 0 / 0.9528 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of matching and sorting (n=50): time 0.007787/0.1853, allocations: 2.613 MB / 0.9554 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1854, allocations: 59.91 kB / 0.9554 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006035/0.186, allocations: 0.562 MB / 0.956 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.1861, allocations: 33.7 kB / 0.956 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.1864, allocations: 379.9 kB / 0.9564 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.1866, allocations: 186.4 kB / 0.9566 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.1867, allocations: 159.7 kB / 0.9567 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.1869, allocations: 0.5508 MB / 0.9573 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.1872, allocations: 200.8 kB / 0.9574 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.1876, allocations: 369.9 kB / 0.9578 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006829/0.1883, allocations: 0.5614 MB / 0.9583 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1883, allocations: 0 / 0.9583 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.007216/0.1955, allocations: 1.787 MB / 0.9601 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.1956, allocations: 4 kB / 0.9601 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.1956, allocations: 4 kB / 0.9601 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005783/0.2014, allocations: 2.11 MB / 0.9622 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.2017, allocations: 91.88 kB / 0.9622 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00707/0.2088, allocations: 5.638 MB / 0.9678 GB, free: 2.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000588/0.2094, allocations: 16 kB / 0.9678 GB, free: 2.164 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.743e-05/0.2094, allocations: 47.92 kB / 0.9678 GB, free: 2.117 MB / 0.9167 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.0002974/0.2097, allocations: 188.6 kB / 0.968 GB, free: 1.922 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.2099, allocations: 87.58 kB / 0.9681 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.2124, allocations: 1.381 MB / 0.9694 GB, free: 444 kB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.2124, allocations: 4 kB / 0.9694 GB, free: 440 kB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.2125, allocations: 4 kB / 0.9694 GB, free: 436 kB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.2125, allocations: 3.984 kB / 0.9694 GB, free: 432 kB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00362/0.2161, allocations: 1.951 MB / 0.9713 GB, free: 14.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.2161, allocations: 4 kB / 0.9713 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.2164, allocations: 87.89 kB / 0.9714 GB, free: 14.31 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002579/0.2189, allocations: 1.35 MB / 0.9727 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.2191, allocations: 23.94 kB / 0.9728 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004293/0.2233, allocations: 4.434 MB / 0.9771 GB, free: 8.25 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.2234, allocations: 4.062 kB / 0.9771 GB, free: 8.246 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002771/0.2261, allocations: 1.583 MB / 0.9786 GB, free: 6.609 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/0.2265, allocations: 139.4 kB / 0.9788 GB, free: 6.473 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.622e-05/0.2266, allocations: 15.98 kB / 0.9788 GB, free: 6.457 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.2269, allocations: 19.94 kB / 0.9788 GB, free: 6.438 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.227, allocations: 52.41 kB / 0.9789 GB, free: 6.387 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.2271, allocations: 23.98 kB / 0.9789 GB, free: 6.363 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003482/0.2274, allocations: 379 kB / 0.9793 GB, free: 5.996 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.2274, allocations: 0 / 0.9793 GB, free: 5.996 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008912/0.2283, allocations: 303.6 kB / 0.9795 GB, free: 5.699 MB / 0.9323 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.0003378/0.2286, allocations: 167 kB / 0.9797 GB, free: 5.527 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002114/0.2308, allocations: 1.225 MB / 0.9809 GB, free: 4.262 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.2308, allocations: 4 kB / 0.9809 GB, free: 4.258 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.2318, allocations: 0.8626 MB / 0.9817 GB, free: 3.359 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.233, allocations: 361.4 kB / 0.9821 GB, free: 3.008 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.2358, allocations: 1.529 MB / 0.9836 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.236, allocations: 188.5 kB / 0.9838 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005018/0.2365, allocations: 133.3 kB / 0.9839 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.2366, allocations: 64.47 kB / 0.9839 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of SimCode: time 2.064e-06/0.2366, allocations: 0 / 0.9839 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of Templates: time 0.02759/0.2642, allocations: 20.78 MB / 1.004 GB, free: 12.6 MB / 0.9636 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.181494961027056]