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.001575/0.001575, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002193/0.002193, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.497/1.497, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.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.601/2.601, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 68.03 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7488/0.7506, allocations: 140.4 MB / 0.9491 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2352/0.9858, allocations: 190.1 MB / 1.135 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00766/0.9936, allocations: 4.014 MB / 1.139 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.9947, allocations: 19.88 kB / 1.139 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.9964, allocations: 413.8 kB / 1.139 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004553/1.001, allocations: 1.443 MB / 1.141 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003864/1.005, allocations: 1.256 MB / 1.142 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002683/1.008, allocations: 1.639 MB / 1.143 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/1.009, allocations: 0.9507 MB / 1.144 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/1.011, allocations: 0.9344 MB / 1.145 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/1.012, allocations: 0.8839 MB / 1.146 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001913/1.012, allocations: 96 kB / 1.146 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002922/1.015, allocations: 1.36 MB / 1.147 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004412/1.016, allocations: 359 kB / 1.148 GB, free: 5.871 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007316/1.017, allocations: 0.5133 MB / 1.148 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003261/1.02, allocations: 1.722 MB / 1.15 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.02, allocations: 0 / 1.15 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.683e-06/1.02, allocations: 0 / 1.15 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.968e-05/1.02, allocations: 0 / 1.15 GB, free: 3.629 MB / 0.9044 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.003748/1.024, allocations: 1.445 MB / 1.151 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.024, allocations: 12.03 kB / 1.151 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/1.026, allocations: 246.7 kB / 1.152 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/1.027, allocations: 0.5837 MB / 1.152 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/1.027, allocations: 37 kB / 1.152 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/1.027, allocations: 51.94 kB / 1.152 GB, free: 1.164 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/1.029, allocations: 0.9609 MB / 1.153 GB, free: 136 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/1.029, allocations: 7.906 kB / 1.153 GB, free: 128 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.448e-05/1.029, allocations: 19.98 kB / 1.153 GB, free: 108 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-05/1.029, allocations: 35.92 kB / 1.153 GB, free: 72 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/1.031, allocations: 0.9406 MB / 1.154 GB, free: 15.13 MB / 0.92 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.006356/1.037, allocations: 4.258 MB / 1.158 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/1.038, allocations: 0.6063 MB / 1.159 GB, free: 10.08 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008082/1.039, allocations: 0.5136 MB / 1.159 GB, free: 9.566 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/1.041, allocations: 0.8783 MB / 1.16 GB, free: 8.504 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/1.041, allocations: 39 kB / 1.16 GB, free: 8.457 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002072/1.043, allocations: 443.2 kB / 1.161 GB, free: 8.023 MB / 0.92 GB Notification: Performance of pre-optimization done (n=50): time 4.198e-06/1.043, allocations: 0 / 1.161 GB, free: 8.023 MB / 0.92 GB Notification: Performance of matching and sorting (n=50): time 0.01933/1.062, allocations: 3.849 MB / 1.165 GB, free: 4.121 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.062, allocations: 59.78 kB / 1.165 GB, free: 4.051 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/1.063, allocations: 0.7117 MB / 1.165 GB, free: 3.328 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/1.064, allocations: 37.7 kB / 1.165 GB, free: 3.285 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000309/1.064, allocations: 320.6 kB / 1.166 GB, free: 2.965 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/1.064, allocations: 177.4 kB / 1.166 GB, free: 2.789 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/1.064, allocations: 150.1 kB / 1.166 GB, free: 2.637 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001165/1.065, allocations: 326 kB / 1.166 GB, free: 2.312 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006974/1.065, allocations: 392.9 kB / 1.167 GB, free: 1.926 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008066/1.066, allocations: 493.5 kB / 1.167 GB, free: 1.418 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/1.068, allocations: 0.918 MB / 1.168 GB, free: 484 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.068, allocations: 0 / 1.168 GB, free: 484 kB / 0.92 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0125/1.08, allocations: 2.56 MB / 1.17 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/1.08, allocations: 10.03 kB / 1.171 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.08, allocations: 0 / 1.171 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/1.091, allocations: 1.738 MB / 1.172 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/1.091, allocations: 95.81 kB / 1.172 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/1.105, allocations: 7.147 MB / 1.179 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/1.106, allocations: 28.05 kB / 1.179 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/1.106, allocations: 47.92 kB / 1.179 GB, free: 4.535 MB / 0.9356 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.0004452/1.107, allocations: 205.8 kB / 1.18 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/1.107, allocations: 79.31 kB / 1.18 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005501/1.113, allocations: 1.749 MB / 1.181 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/1.113, allocations: 11.94 kB / 1.181 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/1.113, allocations: 4 kB / 1.181 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.113, allocations: 3.984 kB / 1.181 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006567/1.119, allocations: 2.54 MB / 1.184 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/1.119, allocations: 0 / 1.184 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004918/1.12, allocations: 83.89 kB / 1.184 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003696/1.124, allocations: 0.8017 MB / 1.185 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/1.124, allocations: 15.98 kB / 1.185 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00775/1.131, allocations: 4.864 MB / 1.189 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.132, allocations: 0 / 1.189 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005866/1.137, allocations: 2.155 MB / 1.192 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005353/1.138, allocations: 232 kB / 1.192 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/1.138, allocations: 20 kB / 1.192 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006519/1.139, allocations: 23.98 kB / 1.192 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/1.139, allocations: 60.42 kB / 1.192 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.509e-05/1.139, allocations: 20 kB / 1.192 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007168/1.14, allocations: 0.4912 MB / 1.192 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.14, allocations: 0 / 1.192 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001186/1.141, allocations: 295.8 kB / 1.193 GB, free: 6.441 MB / 0.9512 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.0005923/1.142, allocations: 210.8 kB / 1.193 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004031/1.146, allocations: 1.523 MB / 1.194 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.146, allocations: 0 / 1.194 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002041/1.148, allocations: 0.9147 MB / 1.195 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/1.15, allocations: 467.1 kB / 1.196 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/1.154, allocations: 1.964 MB / 1.198 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/1.154, allocations: 0.9867 MB / 1.199 GB, free: 292 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007345/1.155, allocations: 166.6 kB / 1.199 GB, free: 120 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/1.155, allocations: 67.41 kB / 1.199 GB, free: 52 kB / 0.9512 GB Notification: Performance of SimCode: time 9.01e-07/1.155, allocations: 0 / 1.199 GB, free: 52 kB / 0.9512 GB Notification: Performance of Templates: time 0.03937/1.195, allocations: 22.63 MB / 1.221 GB, free: 9.672 MB / 0.9825 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches