Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: 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_latest_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_latest_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.001271/0.001271, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001534/0.001534, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.55/2.55, allocations: 436.5 MB / 0.7104 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 8 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7065/0.7069, allocations: 153.6 MB / 1.021 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.1914/0.8983, allocations: 179.2 MB / 1.196 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02669/0.925, allocations: 21.66 MB / 1.217 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.9266, allocations: 27.81 kB / 1.217 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002821/0.9295, allocations: 0.9843 MB / 1.218 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007717/0.9372, allocations: 2.874 MB / 1.221 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.9399, allocations: 0.8353 MB / 1.222 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004005/0.944, allocations: 2.272 MB / 1.224 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.946, allocations: 1.195 MB / 1.225 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003968/0.95, allocations: 1.787 MB / 1.227 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.9518, allocations: 0.9419 MB / 1.228 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003626/0.9521, allocations: 72 kB / 1.228 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003166/0.9553, allocations: 1.041 MB / 1.229 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0009122/0.9562, allocations: 0.7479 MB / 1.229 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008508/0.9571, allocations: 456.3 kB / 1.23 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003082/0.9602, allocations: 2.112 MB / 1.232 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.9602, allocations: 0 / 1.232 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.669e-06/0.9602, allocations: 0 / 1.232 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001094/0.9603, allocations: 3.938 kB / 1.232 GB, free: 8.395 MB / 0.9825 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.005123/0.9655, allocations: 2.465 MB / 1.234 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.9655, allocations: 15.98 kB / 1.234 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002199/0.9677, allocations: 456.2 kB / 1.235 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004492/0.9723, allocations: 2.63 MB / 1.237 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.9724, allocations: 94.53 kB / 1.237 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/0.9727, allocations: 132 kB / 1.238 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002968/0.9757, allocations: 1.583 MB / 1.239 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.984e-05/0.9757, allocations: 7.938 kB / 1.239 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.9759, allocations: 59.98 kB / 1.239 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/0.976, allocations: 89.91 kB / 1.239 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.9779, allocations: 1.065 MB / 1.24 GB, free: 15.54 MB / 0.9981 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.01034/0.9883, allocations: 8.444 MB / 1.249 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.9893, allocations: 0.7311 MB / 1.249 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005498/0.9899, allocations: 0.6091 MB / 1.25 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.9899, allocations: 50.45 kB / 1.25 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=50): time 2.906e-06/0.9899, allocations: 0 / 1.25 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=50): time 0.001921/0.9919, allocations: 0.984 MB / 1.251 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/0.992, allocations: 158.3 kB / 1.251 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6166/1.609, allocations: 4.681 MB / 1.256 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/1.609, allocations: 35.05 kB / 1.256 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001136/1.61, allocations: 1.07 MB / 1.257 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/1.61, allocations: 181.9 kB / 1.257 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/1.61, allocations: 9.719 kB / 1.257 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.752e-05/1.61, allocations: 325 kB / 1.257 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/1.611, allocations: 219.1 kB / 1.257 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005201/1.611, allocations: 323.7 kB / 1.258 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/1.612, allocations: 255.1 kB / 1.258 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.612, allocations: 1.438 kB / 1.258 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001891/1.614, allocations: 0.8049 MB / 1.259 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.614, allocations: 8.062 kB / 1.259 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/1.614, allocations: 6.594 kB / 1.259 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/1.614, allocations: 5.641 kB / 1.259 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004664/1.614, allocations: 108.9 kB / 1.259 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/1.614, allocations: 9.578 kB / 1.259 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/1.615, allocations: 159.6 kB / 1.259 GB, free: 229.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/1.615, allocations: 22.56 kB / 1.259 GB, free: 229.5 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009414/1.616, allocations: 0.5348 MB / 1.259 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003725/1.617, allocations: 233.6 kB / 1.26 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/1.618, allocations: 0.8155 MB / 1.261 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/1.618, allocations: 6.531 kB / 1.261 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/1.618, allocations: 2.438 kB / 1.261 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/1.618, allocations: 4.109 kB / 1.261 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003757/1.622, allocations: 2.092 MB / 1.263 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/1.622, allocations: 1.344 kB / 1.263 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004723/1.623, allocations: 102.9 kB / 1.263 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/1.623, allocations: 4.406 kB / 1.263 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/1.623, allocations: 16.69 kB / 1.263 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/1.623, allocations: 8.203 kB / 1.263 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.623, allocations: 6.25 kB / 1.263 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/1.625, allocations: 1.403 MB / 1.264 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009216/1.626, allocations: 420.8 kB / 1.264 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/1.626, allocations: 16.47 kB / 1.264 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008693/1.627, allocations: 84.33 kB / 1.265 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/1.627, allocations: 42.86 kB / 1.265 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/1.627, allocations: 19.5 kB / 1.265 GB, free: 226.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00554/1.633, allocations: 3.497 MB / 1.268 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.71e-07/1.633, allocations: 1.219 kB / 1.268 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001723/1.634, allocations: 471.2 kB / 1.268 GB, free: 225.7 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001253/1.636, allocations: 0.5294 MB / 1.269 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001057/1.637, allocations: 0.5386 MB / 1.27 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.637, allocations: 5.094 kB / 1.27 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000467/1.637, allocations: 295.7 kB / 1.27 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004009/1.641, allocations: 0.8453 MB / 1.271 GB, free: 225.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006854/1.648, allocations: 4.881 MB / 1.275 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/1.65, allocations: 1.682 MB / 1.277 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001976/1.652, allocations: 468.8 kB / 1.278 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/1.652, allocations: 152 kB / 1.278 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.322e-06/1.652, allocations: 0 / 1.278 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.05557/1.708, allocations: 31.38 MB / 1.308 GB, free: 196.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches