Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 107.3 kB / 16.41 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 191.4 kB / 17.34 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.034, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2572/1.291, allocations: 192.6 MB / 1.277 GB, free: 12.99 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007175/1.298, allocations: 4.015 MB / 1.281 GB, free: 8.965 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/1.3, allocations: 19.88 kB / 1.281 GB, free: 8.945 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/1.301, allocations: 473 kB / 1.281 GB, free: 8.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004101/1.305, allocations: 1.528 MB / 1.283 GB, free: 6.945 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003767/1.309, allocations: 1.357 MB / 1.284 GB, free: 5.59 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002549/1.312, allocations: 1.631 MB / 1.286 GB, free: 3.949 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/1.313, allocations: 0.9567 MB / 1.286 GB, free: 2.98 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/1.314, allocations: 0.9267 MB / 1.287 GB, free: 2.051 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/1.315, allocations: 0.8565 MB / 1.288 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001851/1.316, allocations: 96 kB / 1.288 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/1.318, allocations: 1.302 MB / 1.29 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003745/1.319, allocations: 362.9 kB / 1.29 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005432/1.319, allocations: 0.5094 MB / 1.29 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002517/1.322, allocations: 1.628 MB / 1.292 GB, free: 13.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.322, allocations: 4 kB / 1.292 GB, free: 13.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.245e-06/1.322, allocations: 0 / 1.292 GB, free: 13.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.764e-05/1.322, allocations: 0 / 1.292 GB, free: 13.29 MB / 1.029 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.003075/1.325, allocations: 1.448 MB / 1.293 GB, free: 11.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.325, allocations: 8.031 kB / 1.293 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/1.327, allocations: 242.8 kB / 1.294 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009244/1.328, allocations: 0.6148 MB / 1.294 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/1.328, allocations: 37 kB / 1.294 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/1.328, allocations: 48 kB / 1.294 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/1.329, allocations: 0.9609 MB / 1.295 GB, free: 9.77 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/1.329, allocations: 7.922 kB / 1.295 GB, free: 9.762 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/1.329, allocations: 24 kB / 1.295 GB, free: 9.738 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.403e-05/1.33, allocations: 24 kB / 1.295 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/1.331, allocations: 0.9367 MB / 1.296 GB, free: 8.781 MB / 1.029 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.005817/1.337, allocations: 4.27 MB / 1.3 GB, free: 4.336 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/1.338, allocations: 0.595 MB / 1.301 GB, free: 3.734 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007968/1.339, allocations: 0.5214 MB / 1.301 GB, free: 3.211 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/1.34, allocations: 0.8744 MB / 1.302 GB, free: 2.152 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/1.34, allocations: 39 kB / 1.302 GB, free: 2.102 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001601/1.342, allocations: 415.1 kB / 1.303 GB, free: 1.695 MB / 1.029 GB Notification: Performance of pre-optimization done (n=50): time 3.898e-06/1.342, allocations: 0 / 1.303 GB, free: 1.695 MB / 1.029 GB Notification: Performance of matching and sorting (n=50): time 0.01855/1.36, allocations: 3.837 MB / 1.307 GB, free: 13.8 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/1.36, allocations: 63.72 kB / 1.307 GB, free: 13.73 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/1.361, allocations: 0.7078 MB / 1.307 GB, free: 13.01 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001686/1.362, allocations: 37.7 kB / 1.307 GB, free: 12.97 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/1.362, allocations: 320.6 kB / 1.308 GB, free: 12.65 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/1.362, allocations: 177.4 kB / 1.308 GB, free: 12.48 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/1.362, allocations: 154 kB / 1.308 GB, free: 12.32 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.363, allocations: 326 kB / 1.308 GB, free: 12 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006838/1.363, allocations: 396.9 kB / 1.309 GB, free: 11.61 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007565/1.364, allocations: 481.5 kB / 1.309 GB, free: 11.11 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/1.366, allocations: 0.9219 MB / 1.31 GB, free: 10.16 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/1.366, allocations: 0 / 1.31 GB, free: 10.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01183/1.377, allocations: 2.56 MB / 1.312 GB, free: 7.582 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/1.377, allocations: 12 kB / 1.312 GB, free: 7.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.377, allocations: 0 / 1.312 GB, free: 7.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/1.388, allocations: 1.737 MB / 1.314 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005663/1.388, allocations: 99.8 kB / 1.314 GB, free: 5.727 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01402/1.402, allocations: 7.136 MB / 1.321 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/1.403, allocations: 20.05 kB / 1.321 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.874e-05/1.404, allocations: 43.94 kB / 1.321 GB, free: 14.23 MB / 1.061 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.0004847/1.404, allocations: 206.2 kB / 1.322 GB, free: 14.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/1.404, allocations: 87.05 kB / 1.322 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005354/1.41, allocations: 1.738 MB / 1.323 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/1.41, allocations: 7.984 kB / 1.323 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.41, allocations: 4 kB / 1.323 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/1.41, allocations: 3.984 kB / 1.323 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006319/1.416, allocations: 2.54 MB / 1.326 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/1.416, allocations: 0 / 1.326 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004707/1.417, allocations: 95.77 kB / 1.326 GB, free: 9.445 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003541/1.42, allocations: 0.7979 MB / 1.327 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.37e-05/1.42, allocations: 16 kB / 1.327 GB, free: 8.625 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007429/1.428, allocations: 4.848 MB / 1.331 GB, free: 3.496 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.428, allocations: 4 kB / 1.331 GB, free: 3.492 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005457/1.433, allocations: 2.155 MB / 1.334 GB, free: 1.297 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000525/1.434, allocations: 235.9 kB / 1.334 GB, free: 1.047 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/1.434, allocations: 12 kB / 1.334 GB, free: 1.035 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006069/1.434, allocations: 27.97 kB / 1.334 GB, free: 1.008 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/1.435, allocations: 56.38 kB / 1.334 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/1.435, allocations: 16 kB / 1.334 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006245/1.435, allocations: 0.5029 MB / 1.334 GB, free: 448 kB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.435, allocations: 0 / 1.334 GB, free: 448 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.000999/1.436, allocations: 283.8 kB / 1.335 GB, free: 164 kB / 1.061 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.0005336/1.437, allocations: 220.5 kB / 1.335 GB, free: 15.94 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003567/1.44, allocations: 1.461 MB / 1.336 GB, free: 14.45 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.44, allocations: 0 / 1.336 GB, free: 14.45 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001874/1.442, allocations: 0.9186 MB / 1.337 GB, free: 13.51 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002167/1.445, allocations: 468.5 kB / 1.338 GB, free: 13.06 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/1.448, allocations: 1.742 MB / 1.339 GB, free: 11.28 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/1.448, allocations: 0.9828 MB / 1.34 GB, free: 10.27 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/1.448, allocations: 75.41 kB / 1.34 GB, free: 10.2 MB / 1.076 GB Notification: Performance of SimCode: time 1.192e-06/1.448, allocations: 0 / 1.34 GB, free: 10.2 MB / 1.076 GB Notification: Performance of Templates: time 0.02581/1.474, allocations: 19.36 MB / 1.359 GB, free: 6.961 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches