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.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.00181/0.00181, allocations: 105 kB / 16.45 MB, free: 6.445 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.001874/0.001874, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.391/1.391, allocations: 225.6 MB / 247.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.738/2.738, allocations: 497.2 MB / 0.7812 GB, free: 11.95 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00274/0.00274, allocations: 67.91 kB / 1.134 GB, free: 13.19 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9254/0.9282, allocations: 173.9 MB / 1.304 GB, free: 32.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2395/1.168, allocations: 204.9 MB / 1.504 GB, free: 9.176 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01113/1.179, allocations: 6.392 MB / 1.51 GB, free: 3.965 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/1.181, allocations: 41.19 kB / 1.51 GB, free: 3.949 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002066/1.183, allocations: 0.767 MB / 1.511 GB, free: 3.34 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.007758/1.19, allocations: 2.775 MB / 1.514 GB, free: 0.5938 MB / 1.186 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002019/1.192, allocations: 0.7078 MB / 1.515 GB, free: 15.89 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004551/1.197, allocations: 3.278 MB / 1.518 GB, free: 12.6 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/1.198, allocations: 0.9375 MB / 1.519 GB, free: 11.64 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002846/1.201, allocations: 1.417 MB / 1.52 GB, free: 10.22 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00241/1.204, allocations: 1.159 MB / 1.521 GB, free: 9.062 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002111/1.204, allocations: 128 kB / 1.521 GB, free: 8.938 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004986/1.209, allocations: 2.498 MB / 1.524 GB, free: 6.434 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006521/1.21, allocations: 0.5258 MB / 1.524 GB, free: 5.906 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/1.211, allocations: 0.7469 MB / 1.525 GB, free: 5.156 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005057/1.216, allocations: 2.792 MB / 1.528 GB, free: 2.355 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.216, allocations: 4 kB / 1.528 GB, free: 2.352 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.473e-06/1.216, allocations: 0 / 1.528 GB, free: 2.352 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.507e-05/1.216, allocations: 0 / 1.528 GB, free: 2.352 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.004156/1.22, allocations: 1.817 MB / 1.529 GB, free: 488 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.22, allocations: 8.031 kB / 1.529 GB, free: 480 kB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002102/1.22, allocations: 160.6 kB / 1.53 GB, free: 308 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/1.222, allocations: 354.9 kB / 1.53 GB, free: 15.95 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/1.224, allocations: 0.8785 MB / 1.531 GB, free: 15.03 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.556e-05/1.224, allocations: 78 kB / 1.531 GB, free: 14.95 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/1.224, allocations: 100 kB / 1.531 GB, free: 14.86 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/1.226, allocations: 1.195 MB / 1.532 GB, free: 13.63 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/1.226, allocations: 0 / 1.532 GB, free: 13.63 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/1.226, allocations: 47.98 kB / 1.532 GB, free: 13.58 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-05/1.226, allocations: 58.02 kB / 1.532 GB, free: 13.52 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/1.228, allocations: 1.253 MB / 1.533 GB, free: 12.26 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.007124/1.236, allocations: 5.266 MB / 1.539 GB, free: 6.496 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/1.237, allocations: 1.143 MB / 1.54 GB, free: 5.273 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007111/1.238, allocations: 485.2 kB / 1.54 GB, free: 4.797 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 6.319e-05/1.238, allocations: 16.64 kB / 1.54 GB, free: 4.777 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007662/1.239, allocations: 492.2 kB / 1.541 GB, free: 4.285 MB / 1.217 GB Notification: Performance of pre-optimization done (n=76): time 2.696e-06/1.239, allocations: 0 / 1.541 GB, free: 4.285 MB / 1.217 GB Notification: Performance of matching and sorting (n=76): time 0.002015/1.241, allocations: 1.165 MB / 1.542 GB, free: 3.113 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/1.241, allocations: 60.06 kB / 1.542 GB, free: 3.043 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000712/1.241, allocations: 0.5706 MB / 1.542 GB, free: 2.461 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.914e-05/1.241, allocations: 45.69 kB / 1.542 GB, free: 2.41 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003402/1.242, allocations: 468.8 kB / 1.543 GB, free: 1.945 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/1.242, allocations: 281.5 kB / 1.543 GB, free: 1.668 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/1.242, allocations: 134.7 kB / 1.543 GB, free: 1.531 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001933/1.242, allocations: 378.8 kB / 1.544 GB, free: 1.152 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004886/1.243, allocations: 329.8 kB / 1.544 GB, free: 0.8281 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005848/1.243, allocations: 460.7 kB / 1.544 GB, free: 352 kB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/1.245, allocations: 0.8155 MB / 1.545 GB, free: 15.49 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.245, allocations: 0 / 1.545 GB, free: 15.49 MB / 1.232 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001429/1.246, allocations: 0.9418 MB / 1.546 GB, free: 14.54 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/1.246, allocations: 11.94 kB / 1.546 GB, free: 14.53 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.246, allocations: 7.922 kB / 1.546 GB, free: 14.52 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/1.246, allocations: 8 kB / 1.546 GB, free: 14.51 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006635/1.247, allocations: 151.8 kB / 1.546 GB, free: 14.36 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/1.247, allocations: 7.984 kB / 1.546 GB, free: 14.36 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006451/1.247, allocations: 63.52 kB / 1.546 GB, free: 14.29 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/1.247, allocations: 24.31 kB / 1.546 GB, free: 14.27 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.0004949/1.248, allocations: 341.5 kB / 1.547 GB, free: 13.93 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/1.248, allocations: 87.42 kB / 1.547 GB, free: 13.84 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/1.248, allocations: 111.8 kB / 1.547 GB, free: 13.73 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.248, allocations: 4 kB / 1.547 GB, free: 13.72 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.248, allocations: 4 kB / 1.547 GB, free: 13.72 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001297/1.25, allocations: 1.085 MB / 1.548 GB, free: 12.55 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.003315/1.253, allocations: 2.315 MB / 1.55 GB, free: 10.15 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.253, allocations: 0 / 1.55 GB, free: 10.15 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008158/1.254, allocations: 175.7 kB / 1.55 GB, free: 9.977 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/1.254, allocations: 4 kB / 1.55 GB, free: 9.973 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/1.254, allocations: 23.92 kB / 1.55 GB, free: 9.949 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/1.254, allocations: 4 kB / 1.55 GB, free: 9.945 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.254, allocations: 0 / 1.55 GB, free: 9.945 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/1.256, allocations: 1.363 MB / 1.552 GB, free: 8.562 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004826/1.256, allocations: 252.5 kB / 1.552 GB, free: 8.297 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/1.256, allocations: 15.98 kB / 1.552 GB, free: 8.281 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/1.257, allocations: 23.95 kB / 1.552 GB, free: 8.258 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/1.257, allocations: 40.59 kB / 1.552 GB, free: 8.219 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/1.257, allocations: 27.98 kB / 1.552 GB, free: 8.191 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004943/1.257, allocations: 419 kB / 1.553 GB, free: 7.785 MB / 1.232 GB Notification: Performance of sort global known variables: time 9.1e-08/1.257, allocations: 0 / 1.553 GB, free: 7.785 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008914/1.258, allocations: 375.3 kB / 1.553 GB, free: 7.418 MB / 1.232 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.002309/1.261, allocations: 1.977 MB / 1.555 GB, free: 5.414 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001195/1.262, allocations: 0.7558 MB / 1.556 GB, free: 4.656 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.262, allocations: 4.062 kB / 1.556 GB, free: 4.652 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0005521/1.262, allocations: 411.5 kB / 1.556 GB, free: 4.254 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/1.265, allocations: 0.5856 MB / 1.557 GB, free: 3.68 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009944/1.275, allocations: 7.3 MB / 1.564 GB, free: 12.2 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007892/1.276, allocations: 1.14 MB / 1.565 GB, free: 11.04 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009175/1.276, allocations: 271.2 kB / 1.565 GB, free: 10.77 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/1.277, allocations: 379.3 kB / 1.565 GB, free: 10.4 MB / 1.248 GB Notification: Performance of SimCode: time 1.062e-06/1.277, allocations: 0 / 1.565 GB, free: 10.4 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06348/1.34, allocations: 26.04 MB / 1.591 GB, free: 0.6641 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.206/10.55, allocations: 1.562 kB / 1.591 GB, free: 0.6641 MB / 1.264 GB " [Timeout remaining time 289] (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_2/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: 16.56313308700919]