Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002247/0.002247, allocations: 215.5 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.002/3.002, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 79.56 kB / 1.153 GB, free: 25.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3483, allocations: 176.1 MB / 1.325 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2358/0.5841, allocations: 180.9 MB / 1.502 GB, free: 12.88 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01307/0.5972, allocations: 5.995 MB / 1.508 GB, free: 6.871 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/0.599, allocations: 47.62 kB / 1.508 GB, free: 6.824 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002277/0.6012, allocations: 0.7032 MB / 1.508 GB, free: 6.117 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.007578/0.6088, allocations: 2.809 MB / 1.511 GB, free: 3.297 MB / 1.201 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.002116/0.6109, allocations: 0.7217 MB / 1.512 GB, free: 2.578 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004693/0.6156, allocations: 3.332 MB / 1.515 GB, free: 15.23 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.617, allocations: 0.8012 MB / 1.516 GB, free: 14.41 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003076/0.6201, allocations: 1.433 MB / 1.517 GB, free: 12.97 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002675/0.6228, allocations: 1.112 MB / 1.518 GB, free: 11.86 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002734/0.6231, allocations: 128 kB / 1.518 GB, free: 11.73 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004325/0.6274, allocations: 1.92 MB / 1.52 GB, free: 9.809 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007031/0.6281, allocations: 0.5258 MB / 1.521 GB, free: 9.281 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.6291, allocations: 0.6265 MB / 1.521 GB, free: 8.652 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004928/0.634, allocations: 2.718 MB / 1.524 GB, free: 5.926 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.634, allocations: 3.984 kB / 1.524 GB, free: 5.922 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.694e-06/0.634, allocations: 0 / 1.524 GB, free: 5.922 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.879e-05/0.6341, allocations: 0 / 1.524 GB, free: 5.922 MB / 1.217 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.004321/0.6384, allocations: 1.726 MB / 1.526 GB, free: 4.156 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.6384, allocations: 8.031 kB / 1.526 GB, free: 4.148 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002287/0.6387, allocations: 164.5 kB / 1.526 GB, free: 3.977 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/0.641, allocations: 362.9 kB / 1.526 GB, free: 3.621 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.6428, allocations: 0.8064 MB / 1.527 GB, free: 2.781 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.751e-05/0.6429, allocations: 78 kB / 1.527 GB, free: 2.703 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.6431, allocations: 103.9 kB / 1.527 GB, free: 2.602 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.6453, allocations: 1.392 MB / 1.529 GB, free: 1.129 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.6454, allocations: 0 / 1.529 GB, free: 1.129 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.6455, allocations: 44 kB / 1.529 GB, free: 1.086 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-05/0.6456, allocations: 62.06 kB / 1.529 GB, free: 1.023 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/0.6477, allocations: 1.238 MB / 1.53 GB, free: 15.78 MB / 1.232 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.006703/0.6544, allocations: 3.13 MB / 1.533 GB, free: 12.59 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.6559, allocations: 0.8228 MB / 1.534 GB, free: 11.75 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008007/0.6567, allocations: 493.1 kB / 1.534 GB, free: 11.27 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 5.509e-05/0.6567, allocations: 12.66 kB / 1.534 GB, free: 11.26 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009308/0.6577, allocations: 0.6776 MB / 1.535 GB, free: 10.52 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 3.286e-06/0.6577, allocations: 0 / 1.535 GB, free: 10.52 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.002205/0.6599, allocations: 1.169 MB / 1.536 GB, free: 9.34 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.6599, allocations: 60.06 kB / 1.536 GB, free: 9.27 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008082/0.6607, allocations: 0.5783 MB / 1.537 GB, free: 8.68 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.025e-05/0.6608, allocations: 41.7 kB / 1.537 GB, free: 8.633 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.6612, allocations: 468.6 kB / 1.537 GB, free: 8.168 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.6615, allocations: 281.8 kB / 1.537 GB, free: 7.891 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.6617, allocations: 130.6 kB / 1.537 GB, free: 7.758 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000226/0.6619, allocations: 386.8 kB / 1.538 GB, free: 7.371 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005313/0.6625, allocations: 333.8 kB / 1.538 GB, free: 7.047 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006414/0.6631, allocations: 452.7 kB / 1.539 GB, free: 6.57 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.6643, allocations: 0.8271 MB / 1.539 GB, free: 5.703 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.6644, allocations: 4 kB / 1.539 GB, free: 5.699 MB / 1.232 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001617/0.666, allocations: 0.9339 MB / 1.54 GB, free: 4.758 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.666, allocations: 7.938 kB / 1.54 GB, free: 4.75 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.666, allocations: 4 kB / 1.54 GB, free: 4.746 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/0.666, allocations: 8 kB / 1.54 GB, free: 4.738 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007195/0.6668, allocations: 155.8 kB / 1.54 GB, free: 4.586 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/0.6668, allocations: 12.28 kB / 1.541 GB, free: 4.574 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007744/0.6675, allocations: 59.52 kB / 1.541 GB, free: 4.516 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.767e-05/0.6676, allocations: 35.98 kB / 1.541 GB, free: 4.48 MB / 1.232 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.0005639/0.6682, allocations: 338.1 kB / 1.541 GB, free: 4.141 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.6683, allocations: 87.45 kB / 1.541 GB, free: 4.055 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.6686, allocations: 103.8 kB / 1.541 GB, free: 3.945 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.6686, allocations: 8 kB / 1.541 GB, free: 3.938 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.6686, allocations: 0 / 1.541 GB, free: 3.938 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001456/0.6701, allocations: 1.097 MB / 1.542 GB, free: 2.754 MB / 1.232 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.003515/0.6736, allocations: 2.022 MB / 1.544 GB, free: 0.6797 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.6736, allocations: 3.938 kB / 1.544 GB, free: 0.6758 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008759/0.6745, allocations: 175.8 kB / 1.544 GB, free: 0.5039 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.6745, allocations: 4 kB / 1.544 GB, free: 0.5 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.6745, allocations: 16 kB / 1.544 GB, free: 496 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.6745, allocations: 3.984 kB / 1.544 GB, free: 492 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.6745, allocations: 3.938 kB / 1.544 GB, free: 488 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.6766, allocations: 1.356 MB / 1.546 GB, free: 15.1 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005444/0.6772, allocations: 179.4 kB / 1.546 GB, free: 14.92 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.6773, allocations: 20 kB / 1.546 GB, free: 14.9 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006354/0.6779, allocations: 21.8 kB / 1.546 GB, free: 14.88 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/0.678, allocations: 52.56 kB / 1.546 GB, free: 14.83 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.686e-05/0.6781, allocations: 20 kB / 1.546 GB, free: 14.81 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005808/0.6787, allocations: 419 kB / 1.546 GB, free: 14.41 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.6787, allocations: 0 / 1.546 GB, free: 14.41 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009385/0.6796, allocations: 367.4 kB / 1.547 GB, free: 14.05 MB / 1.248 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.002618/0.6822, allocations: 1.983 MB / 1.549 GB, free: 12.04 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.6836, allocations: 0.7635 MB / 1.549 GB, free: 11.27 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.6836, allocations: 4.062 kB / 1.549 GB, free: 11.27 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.000607/0.6842, allocations: 415.4 kB / 1.55 GB, free: 10.86 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002767/0.687, allocations: 0.5845 MB / 1.55 GB, free: 10.29 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.698, allocations: 7.263 MB / 1.557 GB, free: 2.863 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006798/0.6987, allocations: 0.5466 MB / 1.558 GB, free: 2.285 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001056/0.6997, allocations: 271.1 kB / 1.558 GB, free: 2.016 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006409/0.7004, allocations: 379.3 kB / 1.559 GB, free: 1.645 MB / 1.248 GB Notification: Performance of SimCode: time 1.433e-06/0.7004, allocations: 0 / 1.559 GB, free: 1.645 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07337/0.7738, allocations: 28.71 MB / 1.587 GB, free: 5.527 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.34, allocations: 1.562 kB / 1.587 GB, free: 5.527 MB / 1.279 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.909099518321455]