Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|m_flow_data.1.|m_flow_data.2.|m_flow_data.3.|m_flow_data.4.|m_flow_data.5.|m_flow_data.6.|m_flow_data.7.|m_flow_data.8.|m_flow_testdata.1.|m_flow_testdata.2.|m_flow_testdata.3.|m_flow_testdata.4.|m_flow_testdata.5.|m_flow_testdata.6.|m_flow_testdata.7.|m_flow_testdata.8.",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow") translateModel(Buildings.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|m_flow_data.1.|m_flow_data.2.|m_flow_data.3.|m_flow_data.4.|m_flow_data.5.|m_flow_data.6.|m_flow_data.7.|m_flow_data.8.|m_flow_testdata.1.|m_flow_testdata.2.|m_flow_testdata.3.|m_flow_testdata.4.|m_flow_testdata.5.|m_flow_testdata.6.|m_flow_testdata.7.|m_flow_testdata.8.",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001843/0.001842, allocations: 104.8 kB / 16.27 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002227/0.002227, allocations: 189.8 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.284/2.284, allocations: 390.2 MB / 0.6653 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.55 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3441, allocations: 140.4 MB / 0.9503 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.986/1.33, allocations: 218.2 MB / 1.163 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03329/1.363, allocations: 26.47 MB / 1.189 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0033/1.367, allocations: 35 kB / 1.189 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003619/1.37, allocations: 1.15 MB / 1.19 GB, free: 9.855 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01138/1.382, allocations: 3.137 MB / 1.193 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005802/1.388, allocations: 1.645 MB / 1.195 GB, free: 7.461 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007338/1.395, allocations: 3.85 MB / 1.199 GB, free: 5.387 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002944/1.398, allocations: 1.455 MB / 1.2 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006588/1.405, allocations: 2.279 MB / 1.202 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003203/1.408, allocations: 1.483 MB / 1.204 GB, free: 2.332 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006235/1.409, allocations: 122 kB / 1.204 GB, free: 2.332 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006081/1.415, allocations: 1.78 MB / 1.206 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001394/1.416, allocations: 0.8434 MB / 1.207 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003085/1.419, allocations: 1.15 MB / 1.208 GB, free: 112 kB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008039/1.427, allocations: 2.894 MB / 1.21 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/1.427, allocations: 3.406 kB / 1.21 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of FrontEnd: time 7.434e-06/1.427, allocations: 0 / 1.21 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003041/1.428, allocations: 3.938 kB / 1.21 GB, free: 14.32 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.006948/1.435, allocations: 2.769 MB / 1.213 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/1.435, allocations: 14.83 kB / 1.213 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/1.437, allocations: 435.1 kB / 1.214 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/1.439, allocations: 1.467 MB / 1.215 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.156e-05/1.439, allocations: 101 kB / 1.215 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/1.439, allocations: 129.6 kB / 1.215 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/1.442, allocations: 1.593 MB / 1.217 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.99e-05/1.442, allocations: 10.59 kB / 1.217 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.946e-05/1.442, allocations: 58.42 kB / 1.217 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/1.442, allocations: 88.22 kB / 1.217 GB, free: 9.824 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/1.444, allocations: 1.059 MB / 1.218 GB, free: 9.336 MB / 0.8887 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.008582/1.452, allocations: 8.139 MB / 1.226 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/1.453, allocations: 0.7209 MB / 1.227 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004454/1.454, allocations: 309.1 kB / 1.227 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006304/1.454, allocations: 0.6158 MB / 1.228 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/1.454, allocations: 41.56 kB / 1.228 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=50): time 3.456e-06/1.454, allocations: 0 / 1.228 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of matching and sorting (n=50): time 0.001921/1.456, allocations: 0.9676 MB / 1.229 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.938e-05/1.456, allocations: 165.5 kB / 1.229 GB, free: 308 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004013/1.46, allocations: 3.095 MB / 1.232 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/1.461, allocations: 36.42 kB / 1.232 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009303/1.461, allocations: 1.033 MB / 1.233 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/1.462, allocations: 181.7 kB / 1.233 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/1.462, allocations: 95.75 kB / 1.233 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.462, allocations: 328 kB / 1.233 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/1.462, allocations: 217.1 kB / 1.234 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/1.463, allocations: 322.4 kB / 1.234 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000809/1.464, allocations: 0.5606 MB / 1.234 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.464, allocations: 3.938 kB / 1.234 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001278/1.465, allocations: 0.799 MB / 1.235 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/1.465, allocations: 7.344 kB / 1.235 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.465, allocations: 2.719 kB / 1.235 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/1.465, allocations: 9 kB / 1.235 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/1.465, allocations: 107.9 kB / 1.235 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/1.466, allocations: 6 kB / 1.235 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008405/1.466, allocations: 91.95 kB / 1.235 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/1.466, allocations: 21.94 kB / 1.235 GB, free: 12.35 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0007771/1.467, allocations: 0.5452 MB / 1.236 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/1.468, allocations: 221.2 kB / 1.236 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/1.469, allocations: 0.8009 MB / 1.237 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/1.469, allocations: 8 kB / 1.237 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.469, allocations: 4 kB / 1.237 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/1.469, allocations: 4 kB / 1.237 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/1.472, allocations: 2.021 MB / 1.239 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.472, allocations: 0 / 1.239 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/1.472, allocations: 99.83 kB / 1.239 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/1.472, allocations: 4 kB / 1.239 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/1.472, allocations: 16 kB / 1.239 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/1.472, allocations: 4 kB / 1.239 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.472, allocations: 0 / 1.239 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/1.474, allocations: 1.274 MB / 1.24 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005838/1.475, allocations: 390 kB / 1.241 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/1.475, allocations: 16 kB / 1.241 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006006/1.475, allocations: 19.98 kB / 1.241 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.735e-05/1.476, allocations: 40.33 kB / 1.241 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/1.476, allocations: 16 kB / 1.241 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002759/1.478, allocations: 2.219 MB / 1.243 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.21e-07/1.478, allocations: 0 / 1.243 GB, free: 4.637 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001276/1.48, allocations: 463.1 kB / 1.243 GB, free: 4.184 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.001365/1.481, allocations: 0.5351 MB / 1.244 GB, free: 3.781 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00108/1.482, allocations: 0.6038 MB / 1.244 GB, free: 3.176 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.482, allocations: 4 kB / 1.244 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004301/1.483, allocations: 295.2 kB / 1.245 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003488/1.486, allocations: 0.8522 MB / 1.246 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005953/1.492, allocations: 4.291 MB / 1.25 GB, free: 13.68 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/1.493, allocations: 1.612 MB / 1.251 GB, free: 12.04 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/1.494, allocations: 147.4 kB / 1.252 GB, free: 11.89 MB / 0.92 GB Notification: Performance of SimCode: time 5.81e-07/1.494, allocations: 0 / 1.252 GB, free: 11.89 MB / 0.92 GB Notification: Performance of Templates: time 0.06471/1.558, allocations: 33.06 MB / 1.284 GB, free: 11.06 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches