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.00203/0.00203, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002434/0.002434, allocations: 209.2 kB / 23.04 MB, free: 5.074 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.742/2.742, allocations: 476.7 MB / 0.7715 GB, free: 4.34 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_11_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.002147/0.002147, allocations: 65.67 kB / 1.118 GB, free: 39.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4135, allocations: 170 MB / 1.284 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2508/0.6643, allocations: 208.3 MB / 1.488 GB, free: 10.57 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01241/0.6767, allocations: 6.411 MB / 1.494 GB, free: 4.145 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001961/0.6787, allocations: 47.62 kB / 1.494 GB, free: 4.098 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002323/0.681, allocations: 0.7772 MB / 1.495 GB, free: 3.316 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.008047/0.689, allocations: 2.82 MB / 1.497 GB, free: 496 kB / 1.186 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.002398/0.6914, allocations: 0.7305 MB / 1.498 GB, free: 15.76 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005648/0.6971, allocations: 3.364 MB / 1.501 GB, free: 12.38 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.6988, allocations: 0.8169 MB / 1.502 GB, free: 11.54 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003184/0.702, allocations: 1.304 MB / 1.503 GB, free: 10.23 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003249/0.7052, allocations: 1.174 MB / 1.505 GB, free: 9.062 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003537/0.7056, allocations: 128 kB / 1.505 GB, free: 8.938 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006128/0.7117, allocations: 2.56 MB / 1.507 GB, free: 6.371 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.7127, allocations: 0.5375 MB / 1.508 GB, free: 5.832 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001409/0.7141, allocations: 0.7352 MB / 1.508 GB, free: 5.094 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.006784/0.7209, allocations: 2.808 MB / 1.511 GB, free: 2.277 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.7209, allocations: 0 / 1.511 GB, free: 2.277 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7209, allocations: 0 / 1.511 GB, free: 2.277 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.521e-05/0.721, allocations: 0 / 1.511 GB, free: 2.277 MB / 1.201 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.004814/0.7258, allocations: 1.738 MB / 1.513 GB, free: 0.5 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.7258, allocations: 8.031 kB / 1.513 GB, free: 0.4922 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.358e-05/0.7259, allocations: 30.02 kB / 1.513 GB, free: 472 kB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002132/0.7261, allocations: 164.6 kB / 1.513 GB, free: 296 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002373/0.7285, allocations: 354.9 kB / 1.513 GB, free: 15.94 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.7305, allocations: 0.8141 MB / 1.514 GB, free: 15.1 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.728e-05/0.7306, allocations: 74.02 kB / 1.514 GB, free: 15.03 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.7308, allocations: 104 kB / 1.514 GB, free: 14.93 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.7332, allocations: 1.187 MB / 1.516 GB, free: 13.71 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.7332, allocations: 0 / 1.516 GB, free: 13.71 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.7334, allocations: 47.98 kB / 1.516 GB, free: 13.66 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.044e-05/0.7334, allocations: 66.06 kB / 1.516 GB, free: 13.59 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.7356, allocations: 1.249 MB / 1.517 GB, free: 12.34 MB / 1.217 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.008424/0.744, allocations: 5.048 MB / 1.522 GB, free: 6.828 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.7456, allocations: 0.8295 MB / 1.523 GB, free: 5.992 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008226/0.7464, allocations: 489.2 kB / 1.523 GB, free: 5.512 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 7.492e-05/0.7465, allocations: 16.8 kB / 1.523 GB, free: 5.496 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009353/0.7474, allocations: 492.2 kB / 1.524 GB, free: 5.004 MB / 1.217 GB Notification: Performance of pre-optimization done (n=76): time 3.807e-06/0.7474, allocations: 0 / 1.524 GB, free: 5.004 MB / 1.217 GB Notification: Performance of matching and sorting (n=76): time 0.002433/0.7499, allocations: 1.165 MB / 1.525 GB, free: 3.832 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.7499, allocations: 60.06 kB / 1.525 GB, free: 3.762 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009373/0.7509, allocations: 0.5783 MB / 1.525 GB, free: 3.172 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-05/0.7509, allocations: 41.7 kB / 1.525 GB, free: 3.125 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/0.7514, allocations: 468.7 kB / 1.526 GB, free: 2.66 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000396/0.7518, allocations: 285.5 kB / 1.526 GB, free: 2.379 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.752, allocations: 126.7 kB / 1.526 GB, free: 2.25 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002526/0.7523, allocations: 382.8 kB / 1.527 GB, free: 1.867 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005371/0.7528, allocations: 333.8 kB / 1.527 GB, free: 1.539 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000613/0.7534, allocations: 452.7 kB / 1.527 GB, free: 1.062 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.7547, allocations: 0.8232 MB / 1.528 GB, free: 204 kB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.7547, allocations: 3.938 kB / 1.528 GB, free: 200 kB / 1.217 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001648/0.7563, allocations: 0.9379 MB / 1.529 GB, free: 15.25 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.7564, allocations: 11.94 kB / 1.529 GB, free: 15.23 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.7564, allocations: 3.984 kB / 1.529 GB, free: 15.23 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.7564, allocations: 8 kB / 1.529 GB, free: 15.22 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007279/0.7571, allocations: 155.7 kB / 1.529 GB, free: 15.07 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.7571, allocations: 12 kB / 1.529 GB, free: 15.06 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008052/0.7579, allocations: 67.86 kB / 1.529 GB, free: 14.99 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/0.758, allocations: 23.98 kB / 1.529 GB, free: 14.97 MB / 1.233 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.0006604/0.7587, allocations: 333.5 kB / 1.53 GB, free: 14.63 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.7588, allocations: 87.42 kB / 1.53 GB, free: 14.55 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/0.7591, allocations: 107.8 kB / 1.53 GB, free: 14.44 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.7591, allocations: 8 kB / 1.53 GB, free: 14.43 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.7591, allocations: 0 / 1.53 GB, free: 14.43 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00147/0.7606, allocations: 1.089 MB / 1.531 GB, free: 13.26 MB / 1.233 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.003726/0.7643, allocations: 2.279 MB / 1.533 GB, free: 10.89 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.7643, allocations: 0 / 1.533 GB, free: 10.89 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008824/0.7652, allocations: 171.8 kB / 1.533 GB, free: 10.73 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.7652, allocations: 4 kB / 1.533 GB, free: 10.72 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/0.7653, allocations: 23.98 kB / 1.533 GB, free: 10.7 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.7653, allocations: 3.938 kB / 1.533 GB, free: 10.7 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7653, allocations: 8.031 kB / 1.533 GB, free: 10.69 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.7674, allocations: 1.356 MB / 1.535 GB, free: 9.309 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005003/0.7679, allocations: 183.2 kB / 1.535 GB, free: 9.129 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.768, allocations: 12 kB / 1.535 GB, free: 9.117 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006185/0.7686, allocations: 26.61 kB / 1.535 GB, free: 9.094 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.807e-05/0.7687, allocations: 44.56 kB / 1.535 GB, free: 9.051 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.329e-05/0.7688, allocations: 39.92 kB / 1.535 GB, free: 9.012 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.000568/0.7694, allocations: 407.1 kB / 1.535 GB, free: 8.617 MB / 1.233 GB Notification: Performance of sort global known variables: time 8e-08/0.7694, allocations: 0 / 1.535 GB, free: 8.617 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.001059/0.7704, allocations: 371.3 kB / 1.536 GB, free: 8.254 MB / 1.233 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.00272/0.7731, allocations: 1.971 MB / 1.538 GB, free: 6.258 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.001448/0.7746, allocations: 0.771 MB / 1.538 GB, free: 5.484 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/0.7746, allocations: 4 kB / 1.538 GB, free: 5.48 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.0005909/0.7752, allocations: 407.5 kB / 1.539 GB, free: 5.086 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002872/0.7781, allocations: 0.5957 MB / 1.539 GB, free: 4.508 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.7892, allocations: 7.283 MB / 1.546 GB, free: 13.06 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008554/0.79, allocations: 1.144 MB / 1.548 GB, free: 11.89 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001172/0.7912, allocations: 271.2 kB / 1.548 GB, free: 11.62 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006447/0.7919, allocations: 375.3 kB / 1.548 GB, free: 11.25 MB / 1.248 GB Notification: Performance of SimCode: time 1.673e-06/0.7919, allocations: 0 / 1.548 GB, free: 11.25 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07113/0.863, allocations: 26.74 MB / 1.574 GB, free: 0.8906 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.49, allocations: 4.062 kB / 1.574 GB, free: 0.8867 MB / 1.264 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: 21.520231046015397]