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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.01114/0.01114, allocations: 104.3 kB / 15.74 MB, free: 6.059 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.002243/0.002243, allocations: 196.4 kB / 16.68 MB, free: 5.969 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.411/1.411, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.642/2.642, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.91 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.101, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2526/1.354, allocations: 218.2 MB / 1.421 GB, free: 2.578 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03104/1.385, allocations: 26.46 MB / 1.447 GB, free: 8.031 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002545/1.388, allocations: 35.81 kB / 1.447 GB, free: 7.996 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00316/1.391, allocations: 1.181 MB / 1.448 GB, free: 6.809 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.008886/1.4, allocations: 3.235 MB / 1.451 GB, free: 3.566 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004909/1.405, allocations: 1.673 MB / 1.453 GB, free: 1.898 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00598/1.411, allocations: 3.853 MB / 1.456 GB, free: 14.03 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002563/1.413, allocations: 1.464 MB / 1.458 GB, free: 12.54 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005497/1.419, allocations: 2.335 MB / 1.46 GB, free: 10.19 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00309/1.422, allocations: 1.471 MB / 1.462 GB, free: 8.711 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.00073/1.423, allocations: 124 kB / 1.462 GB, free: 8.59 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005483/1.428, allocations: 1.801 MB / 1.463 GB, free: 6.785 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001512/1.43, allocations: 0.849 MB / 1.464 GB, free: 5.934 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002699/1.432, allocations: 1.146 MB / 1.465 GB, free: 4.781 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005089/1.437, allocations: 2.941 MB / 1.468 GB, free: 1.832 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.437, allocations: 0 / 1.468 GB, free: 1.832 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.382e-06/1.437, allocations: 0 / 1.468 GB, free: 1.832 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.44e-05/1.437, allocations: 4 kB / 1.468 GB, free: 1.828 MB / 1.186 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.00391/1.441, allocations: 2.775 MB / 1.471 GB, free: 14.99 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/1.441, allocations: 8.031 kB / 1.471 GB, free: 14.98 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001587/1.443, allocations: 452.3 kB / 1.471 GB, free: 14.54 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/1.445, allocations: 1.479 MB / 1.473 GB, free: 12.98 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/1.445, allocations: 98.52 kB / 1.473 GB, free: 12.89 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/1.445, allocations: 128 kB / 1.473 GB, free: 12.76 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/1.447, allocations: 1.595 MB / 1.475 GB, free: 11.02 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/1.447, allocations: 11.94 kB / 1.475 GB, free: 11.01 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-05/1.447, allocations: 51.98 kB / 1.475 GB, free: 10.96 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.445e-05/1.447, allocations: 89.97 kB / 1.475 GB, free: 10.88 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/1.449, allocations: 1.061 MB / 1.476 GB, free: 9.812 MB / 1.201 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.007608/1.456, allocations: 8.094 MB / 1.484 GB, free: 1.215 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/1.458, allocations: 0.7347 MB / 1.484 GB, free: 444 kB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/1.458, allocations: 308.1 kB / 1.485 GB, free: 120 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005745/1.459, allocations: 0.6091 MB / 1.485 GB, free: 15.38 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/1.459, allocations: 38.56 kB / 1.485 GB, free: 15.33 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 2.505e-06/1.459, allocations: 0 / 1.485 GB, free: 15.33 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.001667/1.46, allocations: 0.9716 MB / 1.486 GB, free: 14.35 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.925e-05/1.46, allocations: 162.2 kB / 1.486 GB, free: 14.16 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003525/1.464, allocations: 3.096 MB / 1.489 GB, free: 11.05 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/1.464, allocations: 37.7 kB / 1.489 GB, free: 11 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007988/1.465, allocations: 1.042 MB / 1.49 GB, free: 9.953 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/1.465, allocations: 173.5 kB / 1.491 GB, free: 9.781 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/1.465, allocations: 110.2 kB / 1.491 GB, free: 9.668 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.465, allocations: 322 kB / 1.491 GB, free: 9.348 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/1.466, allocations: 221 kB / 1.491 GB, free: 9.133 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/1.466, allocations: 322.9 kB / 1.492 GB, free: 8.785 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007358/1.467, allocations: 0.5493 MB / 1.492 GB, free: 8.203 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/1.467, allocations: 4 kB / 1.492 GB, free: 8.199 MB / 1.217 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001127/1.468, allocations: 0.7992 MB / 1.493 GB, free: 7.391 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/1.468, allocations: 14.12 kB / 1.493 GB, free: 7.379 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.468, allocations: 0 / 1.493 GB, free: 7.379 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/1.468, allocations: 7.984 kB / 1.493 GB, free: 7.371 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/1.468, allocations: 103.9 kB / 1.493 GB, free: 7.27 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/1.468, allocations: 7.938 kB / 1.493 GB, free: 7.262 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006941/1.469, allocations: 86.95 kB / 1.493 GB, free: 7.176 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.189e-05/1.469, allocations: 20 kB / 1.493 GB, free: 7.156 MB / 1.217 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.0006531/1.47, allocations: 0.5406 MB / 1.494 GB, free: 6.605 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/1.47, allocations: 233.2 kB / 1.494 GB, free: 6.375 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/1.471, allocations: 0.7954 MB / 1.495 GB, free: 5.574 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/1.471, allocations: 8 kB / 1.495 GB, free: 5.566 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.471, allocations: 0 / 1.495 GB, free: 5.566 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/1.471, allocations: 7.984 kB / 1.495 GB, free: 5.559 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/1.474, allocations: 2.02 MB / 1.497 GB, free: 3.461 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.474, allocations: 0 / 1.497 GB, free: 3.461 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/1.474, allocations: 96.08 kB / 1.497 GB, free: 3.367 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/1.474, allocations: 8 kB / 1.497 GB, free: 3.359 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/1.474, allocations: 20 kB / 1.497 GB, free: 3.34 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/1.474, allocations: 7.984 kB / 1.497 GB, free: 3.332 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.474, allocations: 3.938 kB / 1.497 GB, free: 3.328 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/1.476, allocations: 1.262 MB / 1.498 GB, free: 2.031 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005689/1.477, allocations: 390 kB / 1.498 GB, free: 1.629 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/1.477, allocations: 15.94 kB / 1.498 GB, free: 1.613 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005729/1.477, allocations: 19.98 kB / 1.498 GB, free: 1.594 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.918e-05/1.477, allocations: 48.27 kB / 1.498 GB, free: 1.547 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/1.478, allocations: 12 kB / 1.498 GB, free: 1.535 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002529/1.48, allocations: 2.219 MB / 1.501 GB, free: 15.31 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.61e-07/1.48, allocations: 0 / 1.501 GB, free: 15.31 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001091/1.481, allocations: 463.1 kB / 1.501 GB, free: 14.86 MB / 1.232 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.001218/1.482, allocations: 0.5227 MB / 1.502 GB, free: 14.46 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008934/1.483, allocations: 0.5371 MB / 1.502 GB, free: 13.93 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/1.483, allocations: 0 / 1.502 GB, free: 13.93 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004089/1.484, allocations: 294.3 kB / 1.502 GB, free: 13.64 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/1.487, allocations: 0.8599 MB / 1.503 GB, free: 12.78 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/1.493, allocations: 4.195 MB / 1.507 GB, free: 8.531 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/1.494, allocations: 1.636 MB / 1.509 GB, free: 6.863 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001367/1.495, allocations: 457.7 kB / 1.509 GB, free: 6.414 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/1.496, allocations: 143.4 kB / 1.51 GB, free: 6.273 MB / 1.232 GB Notification: Performance of SimCode: time 1.092e-06/1.496, allocations: 0 / 1.51 GB, free: 6.273 MB / 1.232 GB Notification: Performance of Templates: time 0.0523/1.548, allocations: 30.07 MB / 1.539 GB, free: 8.602 MB / 1.264 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches