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 12.0.0-master/package.mo", uses=false) 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: 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.001719/0.001719, allocations: 101.7 kB / 15.98 MB, free: 6.359 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.001593/0.001594, allocations: 196 kB / 16.91 MB, free: 6.191 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.491/1.491, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 482.4 MB / 0.755 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 72.02 kB / 0.924 GB, free: 324 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 162.2 MB / 1.082 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2889/1.321, allocations: 215.5 MB / 1.293 GB, free: 7.004 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03735/1.358, allocations: 26.3 MB / 1.318 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002765/1.361, allocations: 27.81 kB / 1.319 GB, free: 12.6 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00385/1.365, allocations: 1.046 MB / 1.32 GB, free: 11.55 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01053/1.375, allocations: 2.914 MB / 1.322 GB, free: 8.625 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005526/1.381, allocations: 1.521 MB / 1.324 GB, free: 7.109 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007228/1.388, allocations: 3.834 MB / 1.328 GB, free: 3.266 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002788/1.391, allocations: 1.37 MB / 1.329 GB, free: 1.863 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006493/1.397, allocations: 2.281 MB / 1.331 GB, free: 15.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003287/1.401, allocations: 1.522 MB / 1.333 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003806/1.401, allocations: 124 kB / 1.333 GB, free: 13.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005248/1.406, allocations: 1.847 MB / 1.335 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001157/1.408, allocations: 0.8412 MB / 1.335 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001905/1.41, allocations: 1.15 MB / 1.337 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003784/1.413, allocations: 2.156 MB / 1.339 GB, free: 7.914 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/1.413, allocations: 0 / 1.339 GB, free: 7.914 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.555e-06/1.413, allocations: 0 / 1.339 GB, free: 7.914 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.444e-05/1.413, allocations: 4 kB / 1.339 GB, free: 7.91 MB / 1.061 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.005086/1.419, allocations: 2.787 MB / 1.341 GB, free: 5.059 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/1.419, allocations: 12.03 kB / 1.341 GB, free: 5.047 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/1.421, allocations: 432.4 kB / 1.342 GB, free: 4.621 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/1.423, allocations: 1.463 MB / 1.343 GB, free: 3.086 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.985e-05/1.423, allocations: 94.53 kB / 1.343 GB, free: 2.992 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/1.423, allocations: 131.9 kB / 1.343 GB, free: 2.863 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/1.426, allocations: 1.599 MB / 1.345 GB, free: 1.121 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.056e-05/1.426, allocations: 15.92 kB / 1.345 GB, free: 1.105 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.997e-05/1.426, allocations: 48 kB / 1.345 GB, free: 1.059 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/1.427, allocations: 85.97 kB / 1.345 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/1.428, allocations: 1.061 MB / 1.346 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009733/1.438, allocations: 8.087 MB / 1.354 GB, free: 7.32 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/1.439, allocations: 0.7232 MB / 1.355 GB, free: 6.551 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00048/1.44, allocations: 308.1 kB / 1.355 GB, free: 6.234 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000714/1.441, allocations: 0.6052 MB / 1.356 GB, free: 5.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/1.441, allocations: 46.95 kB / 1.356 GB, free: 5.445 MB / 1.076 GB Notification: Performance of pre-optimization done (n=50): time 3.788e-06/1.441, allocations: 3.938 kB / 1.356 GB, free: 5.441 MB / 1.076 GB Notification: Performance of matching and sorting (n=50): time 0.001996/1.443, allocations: 0.9762 MB / 1.357 GB, free: 4.457 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/1.443, allocations: 162.2 kB / 1.357 GB, free: 4.262 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004346/1.447, allocations: 3.096 MB / 1.36 GB, free: 1.152 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.498e-05/1.447, allocations: 33.7 kB / 1.36 GB, free: 1.113 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/1.448, allocations: 1.042 MB / 1.361 GB, free: 64 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/1.449, allocations: 177.6 kB / 1.361 GB, free: 15.88 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/1.449, allocations: 94.16 kB / 1.361 GB, free: 15.79 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001884/1.449, allocations: 334 kB / 1.361 GB, free: 15.45 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/1.449, allocations: 217 kB / 1.362 GB, free: 15.24 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/1.45, allocations: 318.9 kB / 1.362 GB, free: 14.9 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009033/1.451, allocations: 0.548 MB / 1.363 GB, free: 14.32 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.451, allocations: 0 / 1.363 GB, free: 14.32 MB / 1.092 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001558/1.452, allocations: 0.7996 MB / 1.363 GB, free: 13.51 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/1.452, allocations: 8 kB / 1.363 GB, free: 13.5 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/1.452, allocations: 7.938 kB / 1.363 GB, free: 13.49 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/1.452, allocations: 4 kB / 1.363 GB, free: 13.49 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/1.453, allocations: 103.8 kB / 1.363 GB, free: 13.39 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/1.453, allocations: 11.98 kB / 1.363 GB, free: 13.38 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/1.454, allocations: 146.9 kB / 1.364 GB, free: 13.23 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/1.454, allocations: 20 kB / 1.364 GB, free: 13.21 MB / 1.092 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.0009122/1.455, allocations: 0.5404 MB / 1.364 GB, free: 12.66 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/1.455, allocations: 221.2 kB / 1.364 GB, free: 12.44 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/1.457, allocations: 0.7994 MB / 1.365 GB, free: 11.63 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/1.457, allocations: 4 kB / 1.365 GB, free: 11.63 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/1.457, allocations: 4 kB / 1.365 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/1.457, allocations: 0 / 1.365 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003313/1.46, allocations: 2.032 MB / 1.367 GB, free: 9.512 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.46, allocations: 0 / 1.367 GB, free: 9.512 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/1.461, allocations: 99.83 kB / 1.367 GB, free: 9.414 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.557e-06/1.461, allocations: 4 kB / 1.367 GB, free: 9.41 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/1.461, allocations: 16 kB / 1.367 GB, free: 9.395 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/1.461, allocations: 7.938 kB / 1.367 GB, free: 9.387 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.461, allocations: 8.188 kB / 1.367 GB, free: 9.379 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/1.463, allocations: 1.266 MB / 1.368 GB, free: 8.078 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007547/1.463, allocations: 390 kB / 1.369 GB, free: 7.676 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/1.464, allocations: 12 kB / 1.369 GB, free: 7.664 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007973/1.464, allocations: 75.92 kB / 1.369 GB, free: 7.59 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.97e-05/1.465, allocations: 44.33 kB / 1.369 GB, free: 7.547 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/1.465, allocations: 16 kB / 1.369 GB, free: 7.531 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003014/1.468, allocations: 2.219 MB / 1.371 GB, free: 5.305 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.71e-07/1.468, allocations: 0 / 1.371 GB, free: 5.305 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001273/1.469, allocations: 471 kB / 1.372 GB, free: 4.844 MB / 1.092 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.001838/1.471, allocations: 0.5391 MB / 1.372 GB, free: 4.438 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001241/1.472, allocations: 0.5996 MB / 1.373 GB, free: 3.84 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.472, allocations: 0 / 1.373 GB, free: 3.84 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004685/1.472, allocations: 291.2 kB / 1.373 GB, free: 3.555 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/1.476, allocations: 0.8561 MB / 1.374 GB, free: 2.703 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007687/1.484, allocations: 4.927 MB / 1.379 GB, free: 13.71 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/1.485, allocations: 1.62 MB / 1.38 GB, free: 12.05 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005294/1.486, allocations: 147.4 kB / 1.38 GB, free: 11.91 MB / 1.107 GB Notification: Performance of SimCode: time 1.553e-06/1.486, allocations: 0 / 1.38 GB, free: 11.91 MB / 1.107 GB Notification: Performance of Templates: time 0.06068/1.547, allocations: 33.05 MB / 1.413 GB, free: 11.07 MB / 1.139 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=400 -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches