Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001425/0.001425, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002555/0.002555, allocations: 215 kB / 20.13 MB, free: 2.949 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.513/1.513, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.93/2.93, allocations: 0.5003 GB / 0.8026 GB, free: 6.75 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="cs",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.00285/0.00285, allocations: 63.91 kB / 1.165 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9662/0.9691, allocations: 178.9 MB / 1.34 GB, free: 16.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2778/1.247, allocations: 207.9 MB / 1.543 GB, free: 8.008 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01297/1.26, allocations: 6.405 MB / 1.549 GB, free: 1.59 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/1.262, allocations: 47.69 kB / 1.549 GB, free: 1.543 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002213/1.264, allocations: 0.7733 MB / 1.55 GB, free: 0.7656 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.007609/1.272, allocations: 2.764 MB / 1.553 GB, free: 13.99 MB / 1.232 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.002101/1.274, allocations: 0.7193 MB / 1.554 GB, free: 13.28 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004845/1.278, allocations: 3.278 MB / 1.557 GB, free: 9.984 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/1.28, allocations: 0.9453 MB / 1.558 GB, free: 9.02 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003086/1.283, allocations: 1.425 MB / 1.559 GB, free: 7.59 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002604/1.286, allocations: 1.147 MB / 1.56 GB, free: 6.445 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002226/1.286, allocations: 128 kB / 1.56 GB, free: 6.32 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005301/1.291, allocations: 2.502 MB / 1.563 GB, free: 3.812 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000763/1.292, allocations: 0.5336 MB / 1.563 GB, free: 3.277 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001308/1.293, allocations: 0.7391 MB / 1.564 GB, free: 2.535 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.006558/1.3, allocations: 2.804 MB / 1.567 GB, free: 15.72 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/1.3, allocations: 3.984 kB / 1.567 GB, free: 15.72 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.664e-06/1.3, allocations: 0 / 1.567 GB, free: 15.72 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.216e-05/1.3, allocations: 0 / 1.567 GB, free: 15.72 MB / 1.248 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.00466/1.305, allocations: 1.805 MB / 1.569 GB, free: 13.86 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/1.305, allocations: 8.031 kB / 1.569 GB, free: 13.85 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.045e-05/1.305, allocations: 30.02 kB / 1.569 GB, free: 13.82 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002258/1.305, allocations: 164.6 kB / 1.569 GB, free: 13.64 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002403/1.307, allocations: 358.8 kB / 1.569 GB, free: 13.29 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/1.309, allocations: 0.8786 MB / 1.57 GB, free: 12.37 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.725e-05/1.309, allocations: 74.02 kB / 1.57 GB, free: 12.3 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/1.309, allocations: 107.9 kB / 1.57 GB, free: 12.19 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/1.311, allocations: 1.187 MB / 1.571 GB, free: 10.97 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/1.311, allocations: 0 / 1.571 GB, free: 10.97 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/1.311, allocations: 44 kB / 1.571 GB, free: 10.93 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.812e-05/1.312, allocations: 54.08 kB / 1.571 GB, free: 10.88 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/1.314, allocations: 1.261 MB / 1.573 GB, free: 9.605 MB / 1.248 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.00763/1.321, allocations: 5.267 MB / 1.578 GB, free: 3.848 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/1.323, allocations: 1.132 MB / 1.579 GB, free: 2.637 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007743/1.324, allocations: 493.1 kB / 1.579 GB, free: 2.148 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 6.341e-05/1.324, allocations: 16.8 kB / 1.579 GB, free: 2.133 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008201/1.325, allocations: 492.2 kB / 1.58 GB, free: 1.637 MB / 1.248 GB Notification: Performance of pre-optimization done (n=76): time 4.809e-06/1.325, allocations: 4 kB / 1.58 GB, free: 1.633 MB / 1.248 GB Notification: Performance of matching and sorting (n=76): time 0.002165/1.327, allocations: 1.165 MB / 1.581 GB, free: 476 kB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.149e-05/1.327, allocations: 60.06 kB / 1.581 GB, free: 404 kB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007725/1.328, allocations: 0.5706 MB / 1.582 GB, free: 15.81 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 7.853e-05/1.328, allocations: 41.7 kB / 1.582 GB, free: 15.77 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004081/1.328, allocations: 472.6 kB / 1.582 GB, free: 15.3 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/1.328, allocations: 273.5 kB / 1.582 GB, free: 15.03 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/1.329, allocations: 134.6 kB / 1.582 GB, free: 14.89 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002432/1.329, allocations: 386.8 kB / 1.583 GB, free: 14.51 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005354/1.329, allocations: 333.8 kB / 1.583 GB, free: 14.18 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006325/1.33, allocations: 448.7 kB / 1.584 GB, free: 13.7 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/1.331, allocations: 0.8311 MB / 1.584 GB, free: 12.84 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.331, allocations: 0 / 1.584 GB, free: 12.84 MB / 1.264 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00155/1.333, allocations: 0.9303 MB / 1.585 GB, free: 11.9 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/1.333, allocations: 11.94 kB / 1.585 GB, free: 11.89 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/1.333, allocations: 4 kB / 1.585 GB, free: 11.89 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.589e-05/1.333, allocations: 4 kB / 1.585 GB, free: 11.88 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007468/1.334, allocations: 159.7 kB / 1.585 GB, free: 11.73 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/1.334, allocations: 4 kB / 1.585 GB, free: 11.72 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00077/1.334, allocations: 63.52 kB / 1.586 GB, free: 11.66 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/1.334, allocations: 28 kB / 1.586 GB, free: 11.63 MB / 1.264 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.000596/1.335, allocations: 337.9 kB / 1.586 GB, free: 11.29 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/1.335, allocations: 91.41 kB / 1.586 GB, free: 11.2 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/1.336, allocations: 111.8 kB / 1.586 GB, free: 11.09 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.336, allocations: 4 kB / 1.586 GB, free: 11.08 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/1.336, allocations: 4 kB / 1.586 GB, free: 11.08 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001485/1.337, allocations: 1.085 MB / 1.587 GB, free: 9.906 MB / 1.264 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.003624/1.341, allocations: 2.311 MB / 1.589 GB, free: 7.504 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/1.341, allocations: 4.031 kB / 1.589 GB, free: 7.5 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008962/1.342, allocations: 175.8 kB / 1.59 GB, free: 7.328 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/1.342, allocations: 4 kB / 1.59 GB, free: 7.324 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.979e-05/1.342, allocations: 15.94 kB / 1.59 GB, free: 7.309 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.337e-06/1.342, allocations: 4 kB / 1.59 GB, free: 7.305 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.342, allocations: 0 / 1.59 GB, free: 7.305 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/1.344, allocations: 1.36 MB / 1.591 GB, free: 5.926 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004612/1.344, allocations: 260.4 kB / 1.591 GB, free: 5.652 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/1.344, allocations: 16 kB / 1.591 GB, free: 5.637 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006245/1.345, allocations: 19.98 kB / 1.591 GB, free: 5.617 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/1.345, allocations: 40.59 kB / 1.591 GB, free: 5.574 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.033e-05/1.345, allocations: 27.94 kB / 1.591 GB, free: 5.547 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00055/1.346, allocations: 415 kB / 1.592 GB, free: 5.148 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.1e-07/1.346, allocations: 0 / 1.592 GB, free: 5.148 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009859/1.347, allocations: 375.3 kB / 1.592 GB, free: 4.781 MB / 1.264 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.002535/1.349, allocations: 1.977 MB / 1.594 GB, free: 2.773 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001328/1.35, allocations: 0.7628 MB / 1.595 GB, free: 2.012 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.35, allocations: 0.6875 kB / 1.595 GB, free: 2.012 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006124/1.351, allocations: 415.5 kB / 1.595 GB, free: 1.605 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/1.354, allocations: 0.5865 MB / 1.596 GB, free: 1.031 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/1.365, allocations: 7.285 MB / 1.603 GB, free: 9.586 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008989/1.366, allocations: 1.139 MB / 1.604 GB, free: 8.418 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.000925/1.366, allocations: 275.1 kB / 1.604 GB, free: 8.145 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005798/1.367, allocations: 375.3 kB / 1.605 GB, free: 7.777 MB / 1.279 GB Notification: Performance of SimCode: time 6.71e-07/1.367, allocations: 0 / 1.605 GB, free: 7.777 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05689/1.424, allocations: 26.08 MB / 1.63 GB, free: 14.01 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.941/11.37, allocations: 24.98 kB / 1.63 GB, free: 13.99 MB / 1.311 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.897150558012072]