Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00177/0.00177, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002323/0.002323, allocations: 213.4 kB / 22.24 MB, free: 5.242 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.597/1.597, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.771/2.771, allocations: 476 MB / 0.7699 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_11_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.002178/0.002178, allocations: 64.62 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3785, allocations: 170 MB / 1.283 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2485/0.6271, allocations: 180.8 MB / 1.459 GB, free: 6.91 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01299/0.6401, allocations: 5.993 MB / 1.465 GB, free: 0.9102 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002394/0.6425, allocations: 51.62 kB / 1.465 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002234/0.6447, allocations: 0.6915 MB / 1.466 GB, free: 168 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.009442/0.6541, allocations: 2.813 MB / 1.468 GB, free: 13.34 MB / 1.17 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.002699/0.6568, allocations: 0.7199 MB / 1.469 GB, free: 12.62 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005577/0.6624, allocations: 3.321 MB / 1.472 GB, free: 9.293 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.664, allocations: 0.8052 MB / 1.473 GB, free: 8.465 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003153/0.6671, allocations: 1.312 MB / 1.474 GB, free: 7.148 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002855/0.67, allocations: 1.135 MB / 1.476 GB, free: 6.016 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.6702, allocations: 128 kB / 1.476 GB, free: 5.891 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00492/0.6752, allocations: 1.92 MB / 1.478 GB, free: 3.965 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007567/0.6759, allocations: 0.5297 MB / 1.478 GB, free: 3.434 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.677, allocations: 0.6187 MB / 1.479 GB, free: 2.812 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.005504/0.6825, allocations: 2.722 MB / 1.481 GB, free: 84 kB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6825, allocations: 0 / 1.481 GB, free: 84 kB / 1.17 GB Notification: Performance of FrontEnd: time 2.585e-06/0.6825, allocations: 0 / 1.481 GB, free: 84 kB / 1.17 GB Notification: Performance of Transformations before backend: time 1.964e-05/0.6825, allocations: 3.984 kB / 1.481 GB, free: 80 kB / 1.17 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.0043/0.6868, allocations: 1.73 MB / 1.483 GB, free: 14.3 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.6869, allocations: 12.03 kB / 1.483 GB, free: 14.29 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002242/0.6871, allocations: 160.6 kB / 1.483 GB, free: 14.12 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/0.6893, allocations: 358.9 kB / 1.484 GB, free: 13.77 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.6911, allocations: 0.8063 MB / 1.484 GB, free: 12.94 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.53e-05/0.6912, allocations: 89.94 kB / 1.484 GB, free: 12.85 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.6914, allocations: 99.98 kB / 1.484 GB, free: 12.75 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.6936, allocations: 1.392 MB / 1.486 GB, free: 11.28 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.6937, allocations: 7.938 kB / 1.486 GB, free: 11.27 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.6938, allocations: 43.98 kB / 1.486 GB, free: 11.23 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.031e-05/0.6939, allocations: 62.06 kB / 1.486 GB, free: 11.17 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.6959, allocations: 1.234 MB / 1.487 GB, free: 9.926 MB / 1.186 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.006398/0.7023, allocations: 3.122 MB / 1.49 GB, free: 6.738 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.7038, allocations: 0.8346 MB / 1.491 GB, free: 5.898 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007973/0.7046, allocations: 490.3 kB / 1.491 GB, free: 5.418 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 5.563e-05/0.7047, allocations: 8.656 kB / 1.492 GB, free: 5.41 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009623/0.7057, allocations: 0.6814 MB / 1.492 GB, free: 4.668 MB / 1.186 GB Notification: Performance of pre-optimization done (n=76): time 3.636e-06/0.7057, allocations: 0 / 1.492 GB, free: 4.668 MB / 1.186 GB Notification: Performance of matching and sorting (n=76): time 0.00222/0.7079, allocations: 1.165 MB / 1.493 GB, free: 3.496 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.7079, allocations: 64 kB / 1.493 GB, free: 3.422 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008217/0.7088, allocations: 0.5783 MB / 1.494 GB, free: 2.836 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.075e-05/0.7088, allocations: 41.7 kB / 1.494 GB, free: 2.789 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004287/0.7093, allocations: 472.6 kB / 1.494 GB, free: 2.32 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003259/0.7096, allocations: 281.6 kB / 1.495 GB, free: 2.043 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.7098, allocations: 126.6 kB / 1.495 GB, free: 1.914 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002449/0.7101, allocations: 386.8 kB / 1.495 GB, free: 1.527 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005384/0.7106, allocations: 333.8 kB / 1.496 GB, free: 1.199 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/0.7112, allocations: 444.8 kB / 1.496 GB, free: 0.7305 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.7125, allocations: 0.8308 MB / 1.497 GB, free: 15.86 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.7125, allocations: 0 / 1.497 GB, free: 15.86 MB / 1.201 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00172/0.7143, allocations: 0.9301 MB / 1.498 GB, free: 14.93 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.7143, allocations: 11.94 kB / 1.498 GB, free: 14.91 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.7143, allocations: 0 / 1.498 GB, free: 14.91 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.7143, allocations: 8 kB / 1.498 GB, free: 14.91 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006997/0.715, allocations: 155.8 kB / 1.498 GB, free: 14.75 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.715, allocations: 8.281 kB / 1.498 GB, free: 14.75 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007321/0.7158, allocations: 67.52 kB / 1.498 GB, free: 14.68 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/0.7158, allocations: 27.98 kB / 1.498 GB, free: 14.65 MB / 1.201 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.0005712/0.7164, allocations: 338.8 kB / 1.498 GB, free: 14.31 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.7165, allocations: 87.42 kB / 1.498 GB, free: 14.23 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.7168, allocations: 107.8 kB / 1.498 GB, free: 14.12 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.7168, allocations: 8 kB / 1.498 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.7168, allocations: 4 kB / 1.498 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001476/0.7183, allocations: 1.093 MB / 1.499 GB, free: 12.93 MB / 1.201 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.003549/0.7218, allocations: 2.026 MB / 1.501 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.7218, allocations: 0 / 1.501 GB, free: 10.84 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008354/0.7227, allocations: 175.8 kB / 1.502 GB, free: 10.67 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.7227, allocations: 0 / 1.502 GB, free: 10.67 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.639e-05/0.7227, allocations: 23.98 kB / 1.502 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.7227, allocations: 4 kB / 1.502 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7227, allocations: 0 / 1.502 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.7248, allocations: 1.356 MB / 1.503 GB, free: 9.262 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004987/0.7253, allocations: 183.4 kB / 1.503 GB, free: 9.082 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.7254, allocations: 16 kB / 1.503 GB, free: 9.066 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005965/0.726, allocations: 19.98 kB / 1.503 GB, free: 9.047 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.7261, allocations: 44.56 kB / 1.503 GB, free: 9.004 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.616e-05/0.7262, allocations: 24 kB / 1.503 GB, free: 8.98 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00058/0.7268, allocations: 419 kB / 1.504 GB, free: 8.574 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.7268, allocations: 0 / 1.504 GB, free: 8.574 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001002/0.7278, allocations: 371.3 kB / 1.504 GB, free: 8.211 MB / 1.201 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.002572/0.7303, allocations: 1.981 MB / 1.506 GB, free: 6.203 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.7317, allocations: 0.7634 MB / 1.507 GB, free: 5.438 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.7317, allocations: 8.125 kB / 1.507 GB, free: 5.43 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005964/0.7323, allocations: 407.5 kB / 1.507 GB, free: 5.035 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/0.7349, allocations: 0.5863 MB / 1.508 GB, free: 4.465 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.7459, allocations: 7.275 MB / 1.515 GB, free: 13.02 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006935/0.7466, allocations: 0.5466 MB / 1.515 GB, free: 12.44 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001037/0.7476, allocations: 275.2 kB / 1.516 GB, free: 12.17 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005958/0.7482, allocations: 375.3 kB / 1.516 GB, free: 11.8 MB / 1.217 GB Notification: Performance of SimCode: time 1.172e-06/0.7482, allocations: 0 / 1.516 GB, free: 11.8 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07679/0.825, allocations: 28.72 MB / 1.544 GB, free: 15.68 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.8, allocations: 11.02 kB / 1.544 GB, free: 15.67 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.971387336961925]