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.0008321/0.0008321, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009178/0.0009178, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9019/0.9019, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.679/1.679, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.9809 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.58e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.5545/0.5545, allocations: 180.6 MB / 1.157 GB, free: 7.258 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008769/0.5633, allocations: 6.002 MB / 1.163 GB, free: 3.176 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.5648, allocations: 49.12 kB / 1.163 GB, free: 3.152 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001834/0.5666, allocations: 0.6993 MB / 1.164 GB, free: 2.785 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.006103/0.5727, allocations: 2.876 MB / 1.167 GB, free: 1.227 MB / 1.01 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.00179/0.5745, allocations: 0.7334 MB / 1.167 GB, free: 0.8203 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004305/0.5788, allocations: 3.39 MB / 1.171 GB, free: 15.21 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.5802, allocations: 0.8138 MB / 1.172 GB, free: 14.81 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003654/0.5838, allocations: 1.837 MB / 1.173 GB, free: 14.01 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002516/0.5864, allocations: 1.027 MB / 1.174 GB, free: 13.68 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0002948/0.5866, allocations: 128 kB / 1.174 GB, free: 13.68 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00392/0.5906, allocations: 1.939 MB / 1.176 GB, free: 12.95 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.001/0.5916, allocations: 0.5689 MB / 1.177 GB, free: 12.68 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.001371/0.5929, allocations: 0.536 MB / 1.177 GB, free: 12.47 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.005487/0.5984, allocations: 2.826 MB / 1.18 GB, free: 11.54 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.5984, allocations: 0 / 1.18 GB, free: 11.54 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5984, allocations: 0 / 1.18 GB, free: 11.54 MB / 1.026 GB Notification: Performance of Transformations before backend: time 3.807e-05/0.5985, allocations: 1.125 kB / 1.18 GB, free: 11.54 MB / 1.026 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.003727/0.6022, allocations: 1.723 MB / 1.182 GB, free: 10.53 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.6022, allocations: 9.594 kB / 1.182 GB, free: 10.53 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/0.6024, allocations: 160.2 kB / 1.182 GB, free: 10.43 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.6038, allocations: 354.6 kB / 1.182 GB, free: 10.33 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.6051, allocations: 0.8135 MB / 1.183 GB, free: 9.855 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.539e-05/0.6052, allocations: 79.09 kB / 1.183 GB, free: 9.816 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.6053, allocations: 102.9 kB / 1.183 GB, free: 9.781 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.607, allocations: 1.395 MB / 1.185 GB, free: 9.066 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.607, allocations: 9.125 kB / 1.185 GB, free: 9.059 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-05/0.6071, allocations: 45 kB / 1.185 GB, free: 9.023 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.17e-05/0.6071, allocations: 61.19 kB / 1.185 GB, free: 9.016 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.6086, allocations: 1.235 MB / 1.186 GB, free: 8.605 MB / 1.026 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.004585/0.6132, allocations: 3.12 MB / 1.189 GB, free: 7.129 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009862/0.6142, allocations: 0.8239 MB / 1.19 GB, free: 6.789 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005404/0.6147, allocations: 490.7 kB / 1.19 GB, free: 6.605 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 4.925e-05/0.6148, allocations: 18.38 kB / 1.19 GB, free: 6.598 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006378/0.6154, allocations: 0.682 MB / 1.191 GB, free: 6.141 MB / 1.026 GB Notification: Performance of pre-optimization done (n=76): time 2.825e-06/0.6154, allocations: 0 / 1.191 GB, free: 6.141 MB / 1.026 GB Notification: Performance of matching and sorting (n=76): time 0.001505/0.6169, allocations: 1.158 MB / 1.192 GB, free: 5.672 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.617, allocations: 65.8 kB / 1.192 GB, free: 5.605 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005288/0.6175, allocations: 0.5793 MB / 1.193 GB, free: 5.344 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.6176, allocations: 38.67 kB / 1.193 GB, free: 5.305 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.6178, allocations: 471.7 kB / 1.193 GB, free: 4.938 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.618, allocations: 283.8 kB / 1.194 GB, free: 4.711 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.6182, allocations: 130 kB / 1.194 GB, free: 4.645 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6183, allocations: 384.8 kB / 1.194 GB, free: 4.301 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.6186, allocations: 333.5 kB / 1.194 GB, free: 4.176 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.619, allocations: 451.9 kB / 1.195 GB, free: 3.938 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007925/0.6198, allocations: 0.8219 MB / 1.196 GB, free: 3.504 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.6198, allocations: 2.625 kB / 1.196 GB, free: 3.504 MB / 1.026 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001043/0.6209, allocations: 0.9374 MB / 1.197 GB, free: 3.098 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.6209, allocations: 8.656 kB / 1.197 GB, free: 3.098 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.6209, allocations: 2.906 kB / 1.197 GB, free: 3.098 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.6209, allocations: 5.281 kB / 1.197 GB, free: 3.098 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.6213, allocations: 156.4 kB / 1.197 GB, free: 3.082 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.6213, allocations: 9.781 kB / 1.197 GB, free: 3.078 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005269/0.6219, allocations: 69.03 kB / 1.197 GB, free: 3.031 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.6219, allocations: 22.66 kB / 1.197 GB, free: 3.027 MB / 1.026 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.0004523/0.6223, allocations: 343.5 kB / 1.197 GB, free: 2.801 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.6224, allocations: 83.27 kB / 1.197 GB, free: 2.758 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.6226, allocations: 110.4 kB / 1.197 GB, free: 2.668 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.6226, allocations: 8.25 kB / 1.197 GB, free: 2.668 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.6226, allocations: 5.719 kB / 1.197 GB, free: 2.664 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008357/0.6234, allocations: 1.09 MB / 1.198 GB, free: 1.949 MB / 1.026 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.002347/0.6258, allocations: 2.023 MB / 1.2 GB, free: 0.6797 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.6258, allocations: 0 / 1.2 GB, free: 0.6797 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/0.6263, allocations: 176.5 kB / 1.2 GB, free: 0.6406 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.6263, allocations: 2 kB / 1.2 GB, free: 0.6406 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/0.6263, allocations: 17.84 kB / 1.201 GB, free: 0.6289 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.353e-06/0.6263, allocations: 8.859 kB / 1.201 GB, free: 0.625 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6263, allocations: 0 / 1.201 GB, free: 0.625 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.6276, allocations: 1.353 MB / 1.202 GB, free: 15.86 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/0.628, allocations: 178.5 kB / 1.202 GB, free: 15.74 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.223e-05/0.6281, allocations: 16.91 kB / 1.202 GB, free: 15.73 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.6284, allocations: 17.52 kB / 1.202 GB, free: 15.71 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.6284, allocations: 55.12 kB / 1.202 GB, free: 15.68 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.6285, allocations: 19.69 kB / 1.202 GB, free: 15.68 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0003484/0.6288, allocations: 414.3 kB / 1.203 GB, free: 15.44 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.6288, allocations: 0 / 1.203 GB, free: 15.44 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0008093/0.6296, allocations: 371.4 kB / 1.203 GB, free: 15.36 MB / 1.042 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.001548/0.6312, allocations: 1.979 MB / 1.205 GB, free: 14.03 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0008653/0.6321, allocations: 0.7681 MB / 1.206 GB, free: 13.66 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.6321, allocations: 0 / 1.206 GB, free: 13.66 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003561/0.6324, allocations: 407.8 kB / 1.206 GB, free: 13.48 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.6343, allocations: 0.5818 MB / 1.207 GB, free: 13.18 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007474/0.6418, allocations: 7.189 MB / 1.214 GB, free: 8.719 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.6421, allocations: 0.5425 MB / 1.214 GB, free: 8.406 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0007447/0.6429, allocations: 273.1 kB / 1.214 GB, free: 8.289 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/0.6433, allocations: 377.2 kB / 1.215 GB, free: 7.98 MB / 1.042 GB Notification: Performance of SimCode: time 1.543e-06/0.6433, allocations: 3.188 kB / 1.215 GB, free: 7.98 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04215/0.6855, allocations: 28.72 MB / 1.243 GB, free: 14.35 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.245/7.931, allocations: 4.281 kB / 1.243 GB, free: 14.35 MB / 1.073 GB " [Timeout remaining time 292] (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/jenkins/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: 11.926564959809184]