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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001189/0.001189, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.18/1.18, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.043/2.043, allocations: 390.2 MB / 0.6643 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 64.03 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.4708, allocations: 140.4 MB / 0.949 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1635/0.6343, allocations: 190.4 MB / 1.135 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005041/0.6394, allocations: 4.072 MB / 1.139 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003318/0.6398, allocations: 19.94 kB / 1.139 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009271/0.6407, allocations: 397.8 kB / 1.139 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002396/0.6431, allocations: 1.454 MB / 1.141 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.6455, allocations: 1.23 MB / 1.142 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001846/0.6474, allocations: 2.349 MB / 1.144 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008945/0.6483, allocations: 0.8909 MB / 1.145 GB, free: 8.715 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009603/0.6492, allocations: 0.8642 MB / 1.146 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008095/0.6501, allocations: 0.8721 MB / 1.147 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.6502, allocations: 76 kB / 1.147 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.6522, allocations: 1.574 MB / 1.148 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000291/0.6525, allocations: 335 kB / 1.149 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004371/0.653, allocations: 0.4937 MB / 1.149 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.6546, allocations: 1.706 MB / 1.151 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.6546, allocations: 4 kB / 1.151 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.01e-07/0.6546, allocations: 0 / 1.151 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.6546, allocations: 4 kB / 1.151 GB, free: 2.777 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.00268/0.6573, allocations: 1.441 MB / 1.152 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.6573, allocations: 12.03 kB / 1.152 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/0.6575, allocations: 90.52 kB / 1.152 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.6589, allocations: 238.7 kB / 1.153 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007043/0.6596, allocations: 0.5915 MB / 1.153 GB, free: 312 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.6596, allocations: 40.98 kB / 1.153 GB, free: 272 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.592e-05/0.6597, allocations: 48 kB / 1.153 GB, free: 224 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.6611, allocations: 0.961 MB / 1.154 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.6611, allocations: 7.844 kB / 1.154 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.125e-05/0.6612, allocations: 27.98 kB / 1.154 GB, free: 15.15 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-05/0.6612, allocations: 27.92 kB / 1.154 GB, free: 15.12 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.6626, allocations: 0.9445 MB / 1.155 GB, free: 14.18 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.004507/0.6671, allocations: 4.258 MB / 1.159 GB, free: 9.746 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008703/0.668, allocations: 0.599 MB / 1.16 GB, free: 9.141 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000691/0.6687, allocations: 0.5214 MB / 1.16 GB, free: 8.617 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000876/0.6696, allocations: 0.8744 MB / 1.161 GB, free: 7.559 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.6696, allocations: 39 kB / 1.161 GB, free: 7.512 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001508/0.6711, allocations: 431.2 kB / 1.162 GB, free: 7.09 MB / 0.92 GB Notification: Performance of pre-optimization done (n=50): time 2.945e-06/0.6711, allocations: 0 / 1.162 GB, free: 7.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=50): time 0.01662/0.6877, allocations: 3.845 MB / 1.166 GB, free: 3.191 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.6878, allocations: 63.78 kB / 1.166 GB, free: 3.117 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007087/0.6885, allocations: 0.7078 MB / 1.166 GB, free: 2.398 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.023e-05/0.6886, allocations: 37.64 kB / 1.166 GB, free: 2.355 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.6888, allocations: 316.6 kB / 1.167 GB, free: 2.043 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.6889, allocations: 181.4 kB / 1.167 GB, free: 1.863 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.6892, allocations: 150.1 kB / 1.167 GB, free: 1.711 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.072e-05/0.6893, allocations: 322 kB / 1.167 GB, free: 1.391 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005951/0.6899, allocations: 392.9 kB / 1.168 GB, free: 1.004 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006621/0.6905, allocations: 493.5 kB / 1.168 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.6919, allocations: 0.918 MB / 1.169 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6919, allocations: 4 kB / 1.169 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01076/0.7027, allocations: 2.56 MB / 1.171 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.7027, allocations: 4 kB / 1.171 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.7027, allocations: 8.125 kB / 1.171 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009216/0.7119, allocations: 1.734 MB / 1.173 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/0.7123, allocations: 95.86 kB / 1.173 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/0.7235, allocations: 6.649 MB / 1.18 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007117/0.7243, allocations: 31.95 kB / 1.18 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.861e-05/0.7244, allocations: 48.19 kB / 1.18 GB, free: 4.109 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.0003252/0.7247, allocations: 217.7 kB / 1.18 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.7249, allocations: 87 kB / 1.18 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004848/0.7297, allocations: 1.73 MB / 1.182 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.7297, allocations: 8 kB / 1.182 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.7297, allocations: 4 kB / 1.182 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.7298, allocations: 3.984 kB / 1.182 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005378/0.7351, allocations: 2.532 MB / 1.184 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.7352, allocations: 0 / 1.184 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.7355, allocations: 91.88 kB / 1.184 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003393/0.7389, allocations: 0.8056 MB / 1.185 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.174e-05/0.739, allocations: 15.98 kB / 1.185 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005772/0.7448, allocations: 4.49 MB / 1.19 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.7448, allocations: 0 / 1.19 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004886/0.7497, allocations: 2.143 MB / 1.192 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/0.75, allocations: 231.9 kB / 1.192 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.7501, allocations: 20 kB / 1.192 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/0.7507, allocations: 27.97 kB / 1.192 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.7509, allocations: 52.44 kB / 1.192 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/0.7509, allocations: 20 kB / 1.192 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005262/0.7514, allocations: 0.5029 MB / 1.193 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7514, allocations: 0 / 1.193 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008176/0.7523, allocations: 283.8 kB / 1.193 GB, free: 6.426 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.005392/0.7577, allocations: 2.815 MB / 1.196 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003201/0.7609, allocations: 1.461 MB / 1.197 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7609, allocations: 256 / 1.197 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001601/0.7625, allocations: 0.9184 MB / 1.198 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.7643, allocations: 439.8 kB / 1.198 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02789/0.7922, allocations: 10.92 MB / 1.209 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.7927, allocations: 0.9789 MB / 1.21 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000607/0.7933, allocations: 158.6 kB / 1.21 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/0.7937, allocations: 283.3 kB / 1.21 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.7937, allocations: 0 / 1.21 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8127/1.606, allocations: 28.33 MB / 1.238 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/1.607, allocations: 255.2 kB / 1.238 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/3.858, allocations: 0 / 1.238 GB, free: 7.957 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > 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