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.001729/0.001729, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00209/0.00209, allocations: 217.5 kB / 23.03 MB, free: 4.922 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.19/3.19, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_12_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.001946/0.001946, allocations: 62.64 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3389, allocations: 176.1 MB / 1.327 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2325/0.5714, allocations: 180.7 MB / 1.503 GB, free: 12.15 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01085/0.5822, allocations: 5.983 MB / 1.509 GB, free: 6.148 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.5835, allocations: 51.62 kB / 1.509 GB, free: 6.098 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.5856, allocations: 0.6915 MB / 1.51 GB, free: 5.402 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.007574/0.5932, allocations: 2.822 MB / 1.512 GB, free: 2.57 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.002028/0.5952, allocations: 0.7223 MB / 1.513 GB, free: 1.852 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00468/0.5999, allocations: 3.36 MB / 1.516 GB, free: 14.48 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.6015, allocations: 0.8208 MB / 1.517 GB, free: 13.63 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003134/0.6046, allocations: 1.433 MB / 1.519 GB, free: 12.19 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002834/0.6074, allocations: 1.16 MB / 1.52 GB, free: 11.03 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003772/0.6078, allocations: 124 kB / 1.52 GB, free: 10.91 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004485/0.6123, allocations: 1.928 MB / 1.522 GB, free: 8.977 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008281/0.6131, allocations: 0.5258 MB / 1.522 GB, free: 8.449 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.6145, allocations: 0.6187 MB / 1.523 GB, free: 7.828 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00544/0.6199, allocations: 2.73 MB / 1.525 GB, free: 5.09 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6199, allocations: 0 / 1.525 GB, free: 5.09 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6199, allocations: 0 / 1.525 GB, free: 5.09 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.127e-05/0.62, allocations: 0 / 1.525 GB, free: 5.09 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.005231/0.6252, allocations: 1.73 MB / 1.527 GB, free: 3.32 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.6253, allocations: 12.03 kB / 1.527 GB, free: 3.309 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.477e-05/0.6253, allocations: 30.02 kB / 1.527 GB, free: 3.277 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003387/0.6257, allocations: 164.6 kB / 1.527 GB, free: 3.105 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/0.6282, allocations: 354.8 kB / 1.528 GB, free: 2.758 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.6302, allocations: 0.8142 MB / 1.529 GB, free: 1.914 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.691e-05/0.6303, allocations: 74.02 kB / 1.529 GB, free: 1.84 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002665/0.6306, allocations: 99.98 kB / 1.529 GB, free: 1.742 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/0.633, allocations: 1.399 MB / 1.53 GB, free: 268 kB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.6331, allocations: 0 / 1.53 GB, free: 268 kB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.6332, allocations: 43.98 kB / 1.53 GB, free: 224 kB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.161e-05/0.6333, allocations: 58.08 kB / 1.53 GB, free: 164 kB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.6354, allocations: 1.253 MB / 1.531 GB, free: 14.9 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.006174/0.6415, allocations: 3.118 MB / 1.534 GB, free: 11.72 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.643, allocations: 0.8249 MB / 1.535 GB, free: 10.89 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007566/0.6438, allocations: 481.2 kB / 1.536 GB, free: 10.41 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-05/0.6438, allocations: 16.64 kB / 1.536 GB, free: 10.4 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000909/0.6448, allocations: 0.6893 MB / 1.536 GB, free: 9.648 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 3.416e-06/0.6448, allocations: 0 / 1.536 GB, free: 9.648 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.002122/0.6469, allocations: 1.153 MB / 1.537 GB, free: 8.488 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.6469, allocations: 60.06 kB / 1.538 GB, free: 8.418 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007572/0.6477, allocations: 0.5783 MB / 1.538 GB, free: 7.832 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-05/0.6478, allocations: 45.64 kB / 1.538 GB, free: 7.781 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.6481, allocations: 476.6 kB / 1.539 GB, free: 7.309 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003023/0.6484, allocations: 281.5 kB / 1.539 GB, free: 7.031 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.6486, allocations: 130.7 kB / 1.539 GB, free: 6.898 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.6488, allocations: 386.8 kB / 1.539 GB, free: 6.512 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005173/0.6494, allocations: 329.8 kB / 1.54 GB, free: 6.191 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006057/0.65, allocations: 448.8 kB / 1.54 GB, free: 5.719 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.6511, allocations: 0.8272 MB / 1.541 GB, free: 4.852 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6512, allocations: 3.938 kB / 1.541 GB, free: 4.848 MB / 1.232 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001499/0.6527, allocations: 0.9339 MB / 1.542 GB, free: 3.906 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.6527, allocations: 8.281 kB / 1.542 GB, free: 3.898 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6527, allocations: 8 kB / 1.542 GB, free: 3.891 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.6527, allocations: 8 kB / 1.542 GB, free: 3.883 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008487/0.6536, allocations: 147.8 kB / 1.542 GB, free: 3.738 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.767e-05/0.6536, allocations: 11.94 kB / 1.542 GB, free: 3.727 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007609/0.6543, allocations: 63.5 kB / 1.542 GB, free: 3.664 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/0.6544, allocations: 31.98 kB / 1.542 GB, free: 3.633 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.0005381/0.6549, allocations: 330.1 kB / 1.542 GB, free: 3.301 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.6551, allocations: 87.42 kB / 1.543 GB, free: 3.215 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.6554, allocations: 103.8 kB / 1.543 GB, free: 3.105 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.6554, allocations: 12 kB / 1.543 GB, free: 3.094 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.6554, allocations: 0 / 1.543 GB, free: 3.094 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001406/0.6568, allocations: 1.097 MB / 1.544 GB, free: 1.91 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.003441/0.6602, allocations: 2.015 MB / 1.546 GB, free: 15.84 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.6602, allocations: 3.984 kB / 1.546 GB, free: 15.84 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009677/0.6612, allocations: 167.8 kB / 1.546 GB, free: 15.67 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.491e-05/0.6612, allocations: 8.016 kB / 1.546 GB, free: 15.66 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.831e-05/0.6613, allocations: 28 kB / 1.546 GB, free: 15.64 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.6613, allocations: 3.938 kB / 1.546 GB, free: 15.63 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6613, allocations: 4 kB / 1.546 GB, free: 15.63 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.6633, allocations: 1.363 MB / 1.547 GB, free: 14.25 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000463/0.6638, allocations: 179.3 kB / 1.547 GB, free: 14.07 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.6639, allocations: 19.98 kB / 1.547 GB, free: 14.05 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000721/0.6646, allocations: 16.94 kB / 1.547 GB, free: 14.04 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.6648, allocations: 44.56 kB / 1.547 GB, free: 13.99 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.615e-05/0.6648, allocations: 31.92 kB / 1.547 GB, free: 13.96 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00059/0.6654, allocations: 411.1 kB / 1.548 GB, free: 13.56 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.6654, allocations: 4 kB / 1.548 GB, free: 13.56 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001041/0.6664, allocations: 371.3 kB / 1.548 GB, free: 13.2 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.002523/0.669, allocations: 1.986 MB / 1.55 GB, free: 11.18 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001349/0.6703, allocations: 0.759 MB / 1.551 GB, free: 10.43 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.6703, allocations: 4 kB / 1.551 GB, free: 10.42 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006073/0.6709, allocations: 407.5 kB / 1.551 GB, free: 10.02 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/0.6737, allocations: 0.5941 MB / 1.552 GB, free: 9.441 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.6853, allocations: 7.279 MB / 1.559 GB, free: 1.996 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007541/0.6861, allocations: 0.5427 MB / 1.56 GB, free: 1.422 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.000991/0.6871, allocations: 271.2 kB / 1.56 GB, free: 1.152 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006189/0.6877, allocations: 375.3 kB / 1.56 GB, free: 0.7852 MB / 1.248 GB Notification: Performance of SimCode: time 1.393e-06/0.6877, allocations: 4 kB / 1.56 GB, free: 0.7812 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06398/0.7517, allocations: 28.49 MB / 1.588 GB, free: 4.957 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.7, allocations: 8.047 kB / 1.588 GB, free: 4.949 MB / 1.279 GB " [Timeout remaining time 286] (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: 20.64494825503789]