Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 108.3 kB / 16.45 MB, free: 6.395 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 195.7 kB / 19.41 MB, free: 3.742 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 67.89 kB / 1.056 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7754/0.7773, allocations: 160.7 MB / 1.213 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2395/1.017, allocations: 204.9 MB / 1.413 GB, free: 10.57 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01157/1.028, allocations: 6.392 MB / 1.419 GB, free: 4.164 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/1.03, allocations: 39.81 kB / 1.419 GB, free: 4.125 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002225/1.032, allocations: 0.7655 MB / 1.42 GB, free: 3.355 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.007348/1.039, allocations: 2.762 MB / 1.423 GB, free: 0.582 MB / 1.123 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.002155/1.042, allocations: 0.7209 MB / 1.423 GB, free: 15.86 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004755/1.046, allocations: 3.268 MB / 1.427 GB, free: 12.58 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001767/1.048, allocations: 0.9375 MB / 1.428 GB, free: 11.62 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002763/1.051, allocations: 1.3 MB / 1.429 GB, free: 10.32 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002658/1.054, allocations: 1.164 MB / 1.43 GB, free: 9.16 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003971/1.054, allocations: 128 kB / 1.43 GB, free: 9.035 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005482/1.059, allocations: 2.509 MB / 1.433 GB, free: 6.52 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0009639/1.06, allocations: 0.5297 MB / 1.433 GB, free: 5.988 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001682/1.062, allocations: 0.7353 MB / 1.434 GB, free: 5.25 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.006473/1.069, allocations: 2.804 MB / 1.436 GB, free: 2.438 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.069, allocations: 0 / 1.436 GB, free: 2.438 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.814e-06/1.069, allocations: 0 / 1.436 GB, free: 2.438 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.621e-05/1.069, allocations: 0 / 1.436 GB, free: 2.438 MB / 1.139 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.005241/1.074, allocations: 1.809 MB / 1.438 GB, free: 0.5703 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.074, allocations: 16.56 kB / 1.438 GB, free: 0.5547 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003466/1.074, allocations: 160.6 kB / 1.438 GB, free: 396 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002548/1.077, allocations: 354.9 kB / 1.439 GB, free: 40 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/1.079, allocations: 0.8708 MB / 1.44 GB, free: 15.12 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.384e-05/1.079, allocations: 85.88 kB / 1.44 GB, free: 15.04 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002487/1.079, allocations: 107.9 kB / 1.44 GB, free: 14.93 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/1.082, allocations: 1.195 MB / 1.441 GB, free: 13.7 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.269e-05/1.082, allocations: 3.984 kB / 1.441 GB, free: 13.7 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/1.082, allocations: 40 kB / 1.441 GB, free: 13.66 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.643e-05/1.082, allocations: 62.02 kB / 1.441 GB, free: 13.6 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/1.084, allocations: 1.25 MB / 1.442 GB, free: 12.34 MB / 1.154 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.008025/1.092, allocations: 5.115 MB / 1.447 GB, free: 6.766 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/1.094, allocations: 1.127 MB / 1.448 GB, free: 5.559 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007743/1.094, allocations: 493.1 kB / 1.449 GB, free: 5.074 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 6.135e-05/1.094, allocations: 16.64 kB / 1.449 GB, free: 5.059 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008017/1.095, allocations: 480.2 kB / 1.449 GB, free: 4.574 MB / 1.154 GB Notification: Performance of pre-optimization done (n=76): time 2.645e-06/1.095, allocations: 0 / 1.449 GB, free: 4.574 MB / 1.154 GB Notification: Performance of matching and sorting (n=76): time 0.002161/1.097, allocations: 1.173 MB / 1.45 GB, free: 3.398 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/1.098, allocations: 60.06 kB / 1.451 GB, free: 3.328 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009146/1.098, allocations: 0.5706 MB / 1.451 GB, free: 2.746 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/1.099, allocations: 41.7 kB / 1.451 GB, free: 2.699 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003853/1.099, allocations: 476.7 kB / 1.452 GB, free: 2.227 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003692/1.099, allocations: 281.6 kB / 1.452 GB, free: 1.949 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/1.1, allocations: 126.6 kB / 1.452 GB, free: 1.816 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002185/1.1, allocations: 390.8 kB / 1.452 GB, free: 1.426 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000562/1.1, allocations: 333.8 kB / 1.453 GB, free: 1.102 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000651/1.101, allocations: 440.8 kB / 1.453 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/1.102, allocations: 0.8271 MB / 1.454 GB, free: 15.77 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/1.102, allocations: 0 / 1.454 GB, free: 15.77 MB / 1.17 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001623/1.104, allocations: 0.9382 MB / 1.455 GB, free: 14.83 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/1.104, allocations: 7.938 kB / 1.455 GB, free: 14.82 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.104, allocations: 4 kB / 1.455 GB, free: 14.82 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/1.104, allocations: 7.984 kB / 1.455 GB, free: 14.81 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007138/1.105, allocations: 155.8 kB / 1.455 GB, free: 14.66 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/1.105, allocations: 7.938 kB / 1.455 GB, free: 14.65 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008063/1.106, allocations: 63.52 kB / 1.455 GB, free: 14.59 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.649e-05/1.106, allocations: 27.98 kB / 1.455 GB, free: 14.56 MB / 1.17 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.000592/1.106, allocations: 333.6 kB / 1.455 GB, free: 14.22 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/1.106, allocations: 87.47 kB / 1.455 GB, free: 14.14 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/1.107, allocations: 107.8 kB / 1.456 GB, free: 14.03 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/1.107, allocations: 8 kB / 1.456 GB, free: 14.02 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.107, allocations: 0 / 1.456 GB, free: 14.02 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001415/1.108, allocations: 1.089 MB / 1.457 GB, free: 12.84 MB / 1.17 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.003833/1.112, allocations: 2.307 MB / 1.459 GB, free: 10.45 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.112, allocations: 0 / 1.459 GB, free: 10.45 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008656/1.113, allocations: 179.8 kB / 1.459 GB, free: 10.27 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/1.113, allocations: 4 kB / 1.459 GB, free: 10.27 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.097e-05/1.113, allocations: 20 kB / 1.459 GB, free: 10.25 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/1.113, allocations: 3.938 kB / 1.459 GB, free: 10.24 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/1.113, allocations: 11.94 kB / 1.459 GB, free: 10.23 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/1.115, allocations: 1.356 MB / 1.46 GB, free: 8.855 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005816/1.115, allocations: 252.4 kB / 1.461 GB, free: 8.59 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/1.116, allocations: 16 kB / 1.461 GB, free: 8.574 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000656/1.116, allocations: 27.97 kB / 1.461 GB, free: 8.547 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/1.116, allocations: 40.59 kB / 1.461 GB, free: 8.504 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-05/1.116, allocations: 27.98 kB / 1.461 GB, free: 8.477 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005583/1.117, allocations: 415 kB / 1.461 GB, free: 8.074 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.117, allocations: 0 / 1.461 GB, free: 8.074 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009287/1.118, allocations: 371.3 kB / 1.462 GB, free: 7.711 MB / 1.17 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.002457/1.12, allocations: 1.973 MB / 1.463 GB, free: 5.707 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001305/1.122, allocations: 0.7668 MB / 1.464 GB, free: 4.941 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.122, allocations: 0.6875 kB / 1.464 GB, free: 4.941 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0005881/1.122, allocations: 411.5 kB / 1.465 GB, free: 4.539 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/1.125, allocations: 0.5874 MB / 1.465 GB, free: 3.957 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/1.136, allocations: 7.293 MB / 1.472 GB, free: 12.5 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008769/1.137, allocations: 1.136 MB / 1.473 GB, free: 11.34 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009668/1.138, allocations: 275.1 kB / 1.474 GB, free: 11.07 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005938/1.138, allocations: 379.3 kB / 1.474 GB, free: 10.7 MB / 1.186 GB Notification: Performance of SimCode: time 8.42e-07/1.138, allocations: 0 / 1.474 GB, free: 10.7 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05905/1.197, allocations: 26.04 MB / 1.499 GB, free: 0.9688 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.445/10.64, allocations: 15.88 kB / 1.499 GB, free: 0.9531 MB / 1.201 GB " [Timeout remaining time 289] (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 16.315996478311718]