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.001569/0.001569, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001922/0.001922, allocations: 222.1 kB / 22.25 MB, free: 5.254 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.402/1.402, allocations: 230.6 MB / 256 MB, free: 7.797 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 2.981/2.981, allocations: 0.49 GB / 0.7951 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_12_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.002109/0.002109, allocations: 66.03 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3411, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2123/0.5534, allocations: 180.8 MB / 1.502 GB, free: 12 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009851/0.5633, allocations: 6.009 MB / 1.508 GB, free: 5.98 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.5644, allocations: 47.62 kB / 1.508 GB, free: 5.934 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.5662, allocations: 0.6954 MB / 1.509 GB, free: 5.234 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006609/0.5728, allocations: 2.819 MB / 1.512 GB, free: 2.406 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.001909/0.5747, allocations: 0.7264 MB / 1.513 GB, free: 1.684 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004647/0.5794, allocations: 3.356 MB / 1.516 GB, free: 14.31 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.5807, allocations: 0.8208 MB / 1.517 GB, free: 13.46 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002936/0.5836, allocations: 1.433 MB / 1.518 GB, free: 12.03 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002474/0.5861, allocations: 1.149 MB / 1.519 GB, free: 10.88 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.5863, allocations: 128 kB / 1.519 GB, free: 10.75 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003957/0.5903, allocations: 1.932 MB / 1.521 GB, free: 8.816 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006027/0.5909, allocations: 0.5258 MB / 1.522 GB, free: 8.289 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0008599/0.5917, allocations: 0.6226 MB / 1.522 GB, free: 7.664 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004134/0.5959, allocations: 2.73 MB / 1.525 GB, free: 4.926 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5959, allocations: 4 kB / 1.525 GB, free: 4.922 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5959, allocations: 0 / 1.525 GB, free: 4.922 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.828e-05/0.5959, allocations: 0 / 1.525 GB, free: 4.922 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.004256/0.6001, allocations: 1.722 MB / 1.527 GB, free: 3.16 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.6002, allocations: 8.031 kB / 1.527 GB, free: 3.152 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002147/0.6004, allocations: 164.6 kB / 1.527 GB, free: 2.98 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/0.6027, allocations: 354.9 kB / 1.527 GB, free: 2.633 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.6044, allocations: 0.818 MB / 1.528 GB, free: 1.781 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.804e-05/0.6045, allocations: 78 kB / 1.528 GB, free: 1.703 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.6046, allocations: 100 kB / 1.528 GB, free: 1.605 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.6067, allocations: 1.396 MB / 1.529 GB, free: 132 kB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.6067, allocations: 3.984 kB / 1.529 GB, free: 128 kB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.6068, allocations: 48 kB / 1.529 GB, free: 80 kB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.408e-05/0.6069, allocations: 58.08 kB / 1.53 GB, free: 20 kB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.6089, allocations: 1.238 MB / 1.531 GB, free: 14.77 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.005877/0.6147, allocations: 3.118 MB / 1.534 GB, free: 11.59 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.6162, allocations: 0.8279 MB / 1.535 GB, free: 10.76 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007209/0.6169, allocations: 497.2 kB / 1.535 GB, free: 10.27 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 5.454e-05/0.6169, allocations: 20.58 kB / 1.535 GB, free: 10.25 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008599/0.6178, allocations: 0.6736 MB / 1.536 GB, free: 9.512 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 3.807e-06/0.6178, allocations: 0 / 1.536 GB, free: 9.512 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.002079/0.6199, allocations: 1.165 MB / 1.537 GB, free: 8.34 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.6199, allocations: 64 kB / 1.537 GB, free: 8.266 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007486/0.6207, allocations: 0.5783 MB / 1.538 GB, free: 7.676 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.843e-05/0.6207, allocations: 41.7 kB / 1.538 GB, free: 7.629 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/0.6211, allocations: 468.6 kB / 1.538 GB, free: 7.164 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.6214, allocations: 285.7 kB / 1.538 GB, free: 6.883 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002331/0.6216, allocations: 134.6 kB / 1.538 GB, free: 6.746 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.6218, allocations: 382.8 kB / 1.539 GB, free: 6.363 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005202/0.6224, allocations: 329.8 kB / 1.539 GB, free: 6.043 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006/0.623, allocations: 444.8 kB / 1.539 GB, free: 5.574 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.6241, allocations: 0.8271 MB / 1.54 GB, free: 4.707 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.6241, allocations: 4 kB / 1.54 GB, free: 4.703 MB / 1.232 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001449/0.6256, allocations: 0.9382 MB / 1.541 GB, free: 3.758 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.6256, allocations: 7.938 kB / 1.541 GB, free: 3.75 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.6256, allocations: 7.984 kB / 1.541 GB, free: 3.742 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.6256, allocations: 4 kB / 1.541 GB, free: 3.738 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/0.6263, allocations: 151.8 kB / 1.541 GB, free: 3.59 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.6264, allocations: 11.94 kB / 1.541 GB, free: 3.578 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007243/0.6271, allocations: 59.52 kB / 1.541 GB, free: 3.52 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.6271, allocations: 27.98 kB / 1.541 GB, free: 3.492 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.0005062/0.6276, allocations: 334.1 kB / 1.542 GB, free: 3.156 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.6278, allocations: 87.5 kB / 1.542 GB, free: 3.07 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.6281, allocations: 107.8 kB / 1.542 GB, free: 2.957 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.6281, allocations: 8 kB / 1.542 GB, free: 2.949 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.6281, allocations: 0 / 1.542 GB, free: 2.949 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001371/0.6294, allocations: 1.089 MB / 1.543 GB, free: 1.773 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.003299/0.6327, allocations: 2.03 MB / 1.545 GB, free: 15.69 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.6327, allocations: 4 kB / 1.545 GB, free: 15.68 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008703/0.6336, allocations: 175.8 kB / 1.545 GB, free: 15.51 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.6336, allocations: 4 kB / 1.545 GB, free: 15.51 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.522e-05/0.6337, allocations: 19.98 kB / 1.545 GB, free: 15.49 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.6337, allocations: 4 kB / 1.545 GB, free: 15.48 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6337, allocations: 0 / 1.545 GB, free: 15.48 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.6356, allocations: 1.36 MB / 1.547 GB, free: 14.1 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004764/0.6361, allocations: 175.3 kB / 1.547 GB, free: 13.93 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.6362, allocations: 16 kB / 1.547 GB, free: 13.91 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.6369, allocations: 25.05 kB / 1.547 GB, free: 13.89 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.857e-05/0.6369, allocations: 48.56 kB / 1.547 GB, free: 13.84 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.637, allocations: 35.92 kB / 1.547 GB, free: 13.81 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005056/0.6375, allocations: 415 kB / 1.547 GB, free: 13.41 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.6375, allocations: 0 / 1.547 GB, free: 13.41 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009056/0.6384, allocations: 367.4 kB / 1.548 GB, free: 13.05 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.00244/0.6409, allocations: 1.971 MB / 1.55 GB, free: 11.05 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.6422, allocations: 0.7668 MB / 1.55 GB, free: 10.29 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.6422, allocations: 0 / 1.55 GB, free: 10.29 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0005824/0.6427, allocations: 411.5 kB / 1.551 GB, free: 9.883 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/0.6453, allocations: 0.5963 MB / 1.551 GB, free: 9.305 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.6555, allocations: 7.278 MB / 1.558 GB, free: 1.867 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006275/0.6561, allocations: 0.5427 MB / 1.559 GB, free: 1.293 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009358/0.6571, allocations: 275.1 kB / 1.559 GB, free: 1.02 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005735/0.6576, allocations: 383.3 kB / 1.56 GB, free: 0.6445 MB / 1.248 GB Notification: Performance of SimCode: time 1.703e-06/0.6576, allocations: 4 kB / 1.56 GB, free: 0.6406 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06518/0.7228, allocations: 28.96 MB / 1.588 GB, free: 4.266 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.13, allocations: 6.375 kB / 1.588 GB, free: 4.262 MB / 1.279 GB " [Timeout remaining time 288] (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: 18.51679398797569]