Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.ZonalFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow",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.009559/0.009559, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.002091/0.002091, allocations: 197.1 kB / 16.68 MB, free: 5.969 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.316/2.316, allocations: 222.9 MB / 240.4 MB, free: 15.09 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 3.391/3.391, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 63.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.109, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.3666/1.476, allocations: 204.2 MB / 1.287 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01606/1.492, allocations: 6.379 MB / 1.293 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002082/1.494, allocations: 35.81 kB / 1.293 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.003079/1.497, allocations: 0.7226 MB / 1.294 GB, free: 10.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01038/1.508, allocations: 2.68 MB / 1.296 GB, free: 7.68 MB / 1.029 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.002944/1.511, allocations: 0.707 MB / 1.297 GB, free: 6.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.007081/1.518, allocations: 3.278 MB / 1.3 GB, free: 3.688 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002977/1.521, allocations: 1.148 MB / 1.301 GB, free: 2.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003785/1.525, allocations: 1.269 MB / 1.303 GB, free: 1.246 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003698/1.528, allocations: 1.091 MB / 1.304 GB, free: 160 kB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005701/1.529, allocations: 128 kB / 1.304 GB, free: 32 kB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007282/1.536, allocations: 2.362 MB / 1.306 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001084/1.537, allocations: 0.5143 MB / 1.307 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002089/1.539, allocations: 0.7314 MB / 1.307 GB, free: 12.41 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.007476/1.547, allocations: 2.801 MB / 1.31 GB, free: 9.605 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/1.547, allocations: 4 kB / 1.31 GB, free: 9.602 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.034e-06/1.547, allocations: 4 kB / 1.31 GB, free: 9.598 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.701e-05/1.547, allocations: 0 / 1.31 GB, free: 9.598 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.007681/1.555, allocations: 1.769 MB / 1.312 GB, free: 7.773 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/1.555, allocations: 8.031 kB / 1.312 GB, free: 7.766 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005166/1.555, allocations: 160.6 kB / 1.312 GB, free: 7.598 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00398/1.559, allocations: 350.2 kB / 1.312 GB, free: 7.254 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/1.562, allocations: 0.8778 MB / 1.313 GB, free: 6.332 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/1.562, allocations: 78 kB / 1.313 GB, free: 6.254 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003222/1.563, allocations: 100 kB / 1.313 GB, free: 6.156 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003506/1.566, allocations: 1.191 MB / 1.315 GB, free: 4.934 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.103e-05/1.566, allocations: 4 kB / 1.315 GB, free: 4.93 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001856/1.566, allocations: 51.97 kB / 1.315 GB, free: 4.879 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/1.567, allocations: 54.08 kB / 1.315 GB, free: 4.824 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003475/1.57, allocations: 1.25 MB / 1.316 GB, free: 3.566 MB / 1.045 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.01183/1.582, allocations: 5.095 MB / 1.321 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/1.584, allocations: 1.163 MB / 1.322 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/1.586, allocations: 0.5012 MB / 1.322 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/1.586, allocations: 24.78 kB / 1.322 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00128/1.587, allocations: 484.2 kB / 1.323 GB, free: 11.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=76): time 4.96e-06/1.587, allocations: 0 / 1.323 GB, free: 11.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.003401/1.591, allocations: 1.161 MB / 1.324 GB, free: 10.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/1.591, allocations: 60.06 kB / 1.324 GB, free: 10.52 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/1.592, allocations: 0.5706 MB / 1.325 GB, free: 9.938 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/1.592, allocations: 45.7 kB / 1.325 GB, free: 9.887 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005217/1.593, allocations: 467.5 kB / 1.325 GB, free: 9.422 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000429/1.593, allocations: 272.1 kB / 1.325 GB, free: 9.152 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003453/1.594, allocations: 130.6 kB / 1.326 GB, free: 9.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000263/1.594, allocations: 386.8 kB / 1.326 GB, free: 8.633 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009006/1.595, allocations: 329.8 kB / 1.326 GB, free: 8.309 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009755/1.596, allocations: 452.6 kB / 1.327 GB, free: 7.824 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/1.598, allocations: 0.8194 MB / 1.327 GB, free: 6.973 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/1.598, allocations: 4 kB / 1.327 GB, free: 6.969 MB / 1.061 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002405/1.6, allocations: 0.9296 MB / 1.328 GB, free: 6.031 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/1.6, allocations: 7.938 kB / 1.328 GB, free: 6.023 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/1.6, allocations: 7.984 kB / 1.328 GB, free: 6.016 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/1.6, allocations: 4 kB / 1.328 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.601, allocations: 160.1 kB / 1.329 GB, free: 5.855 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.663e-05/1.601, allocations: 12 kB / 1.329 GB, free: 5.844 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/1.603, allocations: 51.38 kB / 1.329 GB, free: 5.793 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-05/1.603, allocations: 31.98 kB / 1.329 GB, free: 5.762 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008238/1.604, allocations: 329.5 kB / 1.329 GB, free: 5.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/1.604, allocations: 87 kB / 1.329 GB, free: 5.344 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/1.604, allocations: 107.8 kB / 1.329 GB, free: 5.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/1.604, allocations: 8 kB / 1.329 GB, free: 5.223 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/1.604, allocations: 0 / 1.329 GB, free: 5.223 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002064/1.606, allocations: 1.101 MB / 1.33 GB, free: 4.035 MB / 1.061 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 postOpt removeSimpleEquations (simulation): time 0.005578/1.612, allocations: 2.299 MB / 1.332 GB, free: 1.641 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.612, allocations: 0 / 1.332 GB, free: 1.641 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/1.613, allocations: 175.8 kB / 1.333 GB, free: 1.469 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.977e-05/1.614, allocations: 4 kB / 1.333 GB, free: 1.465 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.411e-05/1.614, allocations: 16.03 kB / 1.333 GB, free: 1.449 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/1.614, allocations: 4 kB / 1.333 GB, free: 1.445 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.614, allocations: 4 kB / 1.333 GB, free: 1.441 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/1.617, allocations: 1.355 MB / 1.334 GB, free: 68 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008848/1.618, allocations: 248 kB / 1.334 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/1.618, allocations: 16 kB / 1.334 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/1.619, allocations: 33.33 kB / 1.334 GB, free: 15.76 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/1.619, allocations: 44.59 kB / 1.334 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.936e-05/1.619, allocations: 31.97 kB / 1.334 GB, free: 15.68 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008612/1.62, allocations: 415 kB / 1.335 GB, free: 15.28 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.11e-07/1.62, allocations: 0 / 1.335 GB, free: 15.28 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00161/1.622, allocations: 363.1 kB / 1.335 GB, free: 14.93 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003654/1.626, allocations: 1.961 MB / 1.337 GB, free: 12.93 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002008/1.628, allocations: 0.8059 MB / 1.338 GB, free: 12.13 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/1.628, allocations: 0 / 1.338 GB, free: 12.13 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009285/1.629, allocations: 435.4 kB / 1.338 GB, free: 11.7 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004454/1.633, allocations: 0.5941 MB / 1.339 GB, free: 11.12 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/1.649, allocations: 7.261 MB / 1.346 GB, free: 3.707 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/1.651, allocations: 1.136 MB / 1.347 GB, free: 2.543 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001557/1.652, allocations: 267.2 kB / 1.347 GB, free: 2.277 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008945/1.653, allocations: 379.3 kB / 1.348 GB, free: 1.91 MB / 1.076 GB Notification: Performance of SimCode: time 9.82e-07/1.653, allocations: 4 kB / 1.348 GB, free: 1.906 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08042/1.734, allocations: 26.32 MB / 1.373 GB, free: 7.914 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/15.47, allocations: 18.06 kB / 1.373 GB, free: 7.902 MB / 1.107 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches