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: "" <> 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.001761/0.001761, 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.00213/0.00213, allocations: 194.3 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.548/2.548, allocations: 222.9 MB / 239.9 MB, free: 4.547 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 3.26/3.26, allocations: 390.2 MB / 0.6644 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 63.89 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9558/0.9573, allocations: 140.4 MB / 0.9492 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.361/1.318, allocations: 190.1 MB / 1.135 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01065/1.329, allocations: 4.022 MB / 1.139 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002147/1.331, allocations: 19.88 kB / 1.139 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003082/1.334, allocations: 417.8 kB / 1.139 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007528/1.342, allocations: 1.438 MB / 1.141 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006626/1.349, allocations: 1.262 MB / 1.142 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003706/1.352, allocations: 1.635 MB / 1.143 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/1.355, allocations: 0.943 MB / 1.144 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002736/1.357, allocations: 0.9422 MB / 1.145 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/1.359, allocations: 0.88 MB / 1.146 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004339/1.36, allocations: 96 kB / 1.146 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004183/1.364, allocations: 1.364 MB / 1.148 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007777/1.365, allocations: 351 kB / 1.148 GB, free: 5.871 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001149/1.366, allocations: 0.5133 MB / 1.148 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003803/1.37, allocations: 1.729 MB / 1.15 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.37, allocations: 0 / 1.15 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.485e-06/1.37, allocations: 0 / 1.15 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.763e-05/1.37, allocations: 0 / 1.15 GB, free: 3.621 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.005821/1.376, allocations: 1.445 MB / 1.152 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/1.376, allocations: 8.031 kB / 1.152 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002379/1.376, allocations: 94.52 kB / 1.152 GB, free: 2.016 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00311/1.379, allocations: 242.7 kB / 1.152 GB, free: 1.777 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/1.381, allocations: 0.5876 MB / 1.152 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.224e-05/1.381, allocations: 40.94 kB / 1.152 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/1.381, allocations: 48 kB / 1.153 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002617/1.384, allocations: 0.9609 MB / 1.153 GB, free: 28 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/1.384, allocations: 3.906 kB / 1.153 GB, free: 24 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/1.384, allocations: 27.97 kB / 1.153 GB, free: 15.99 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-05/1.384, allocations: 27.94 kB / 1.154 GB, free: 15.97 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002712/1.387, allocations: 0.9445 MB / 1.154 GB, free: 15.03 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.009419/1.396, allocations: 4.254 MB / 1.159 GB, free: 10.59 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/1.398, allocations: 0.5978 MB / 1.159 GB, free: 9.988 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/1.399, allocations: 0.5175 MB / 1.16 GB, free: 9.469 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00162/1.401, allocations: 0.8783 MB / 1.161 GB, free: 8.406 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/1.401, allocations: 39 kB / 1.161 GB, free: 8.359 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003264/1.404, allocations: 443.2 kB / 1.161 GB, free: 7.926 MB / 0.92 GB Notification: Performance of pre-optimization done (n=50): time 7.584e-06/1.404, allocations: 0 / 1.161 GB, free: 7.926 MB / 0.92 GB Notification: Performance of matching and sorting (n=50): time 0.03249/1.437, allocations: 3.845 MB / 1.165 GB, free: 4.027 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/1.437, allocations: 59.78 kB / 1.165 GB, free: 3.957 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/1.439, allocations: 0.7117 MB / 1.166 GB, free: 3.234 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000228/1.439, allocations: 37.7 kB / 1.166 GB, free: 3.191 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/1.439, allocations: 320.6 kB / 1.166 GB, free: 2.871 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004943/1.44, allocations: 177.4 kB / 1.166 GB, free: 2.695 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005617/1.44, allocations: 150 kB / 1.166 GB, free: 2.543 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.441, allocations: 326 kB / 1.166 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/1.442, allocations: 396.9 kB / 1.167 GB, free: 1.828 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/1.443, allocations: 489.5 kB / 1.167 GB, free: 1.324 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002631/1.446, allocations: 0.9219 MB / 1.168 GB, free: 384 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/1.446, allocations: 0 / 1.168 GB, free: 384 kB / 0.92 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.02103/1.467, allocations: 2.564 MB / 1.171 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/1.467, allocations: 8 kB / 1.171 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/1.467, allocations: 0 / 1.171 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0178/1.485, allocations: 1.741 MB / 1.172 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008728/1.486, allocations: 91.88 kB / 1.173 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02294/1.509, allocations: 7.146 MB / 1.18 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/1.51, allocations: 28.05 kB / 1.18 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002428/1.511, allocations: 47.92 kB / 1.18 GB, free: 4.438 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.0007533/1.511, allocations: 201.8 kB / 1.18 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005052/1.512, allocations: 79.06 kB / 1.18 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009384/1.521, allocations: 1.753 MB / 1.182 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/1.521, allocations: 4 kB / 1.182 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.521, allocations: 4.25 kB / 1.182 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/1.521, allocations: 3.984 kB / 1.182 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/1.532, allocations: 2.544 MB / 1.184 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/1.532, allocations: 0 / 1.184 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000784/1.533, allocations: 83.89 kB / 1.184 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00642/1.539, allocations: 0.8017 MB / 1.185 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/1.539, allocations: 19.98 kB / 1.185 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/1.551, allocations: 4.86 MB / 1.19 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.551, allocations: 0 / 1.19 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009427/1.561, allocations: 2.155 MB / 1.192 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007971/1.562, allocations: 235.9 kB / 1.192 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00032/1.562, allocations: 12 kB / 1.192 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/1.563, allocations: 27.98 kB / 1.192 GB, free: 7.203 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/1.564, allocations: 60.42 kB / 1.192 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-05/1.564, allocations: 16 kB / 1.192 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001155/1.565, allocations: 0.4951 MB / 1.193 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of sort global known variables: time 5.71e-07/1.565, allocations: 0 / 1.193 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001801/1.567, allocations: 291.8 kB / 1.193 GB, free: 6.352 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.01042/1.577, allocations: 2.822 MB / 1.196 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00675/1.584, allocations: 1.523 MB / 1.197 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.584, allocations: 0 / 1.197 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003191/1.587, allocations: 0.9031 MB / 1.198 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004078/1.591, allocations: 457.7 kB / 1.198 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05743/1.649, allocations: 10.91 MB / 1.209 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/1.65, allocations: 0.9827 MB / 1.21 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001521/1.651, allocations: 170.6 kB / 1.21 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007845/1.652, allocations: 283.3 kB / 1.21 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of SimCode: time 8.71e-07/1.652, allocations: 0 / 1.21 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.079/5.731, allocations: 29.33 MB / 1.239 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003177/5.732, allocations: 255.3 kB / 1.239 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.916/9.648, allocations: 0 / 1.239 GB, free: 6.832 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