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.001254/0.001255, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 192.8 kB / 16.53 MB, free: 6.699 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.431/1.431, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.777/2.777, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 64.41 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3977, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.983/1.381, allocations: 218.2 MB / 1.281 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04372/1.425, allocations: 26.46 MB / 1.307 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003234/1.428, allocations: 32.75 kB / 1.307 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004176/1.432, allocations: 1.156 MB / 1.308 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01175/1.444, allocations: 3.135 MB / 1.311 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006522/1.45, allocations: 1.647 MB / 1.313 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008163/1.459, allocations: 3.857 MB / 1.317 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003633/1.462, allocations: 1.458 MB / 1.318 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007882/1.47, allocations: 2.275 MB / 1.32 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004004/1.474, allocations: 1.466 MB / 1.322 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000847/1.475, allocations: 129.7 kB / 1.322 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006848/1.482, allocations: 1.774 MB / 1.324 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001798/1.484, allocations: 0.851 MB / 1.324 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003974/1.488, allocations: 1.137 MB / 1.326 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008349/1.496, allocations: 2.908 MB / 1.328 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.496, allocations: 0 / 1.328 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.064e-06/1.496, allocations: 0 / 1.328 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001622/1.496, allocations: 0 / 1.328 GB, free: 3.5 MB / 0.9981 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.008296/1.505, allocations: 2.779 MB / 1.331 GB, free: 18.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/1.505, allocations: 13.12 kB / 1.331 GB, free: 18.05 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/1.507, allocations: 429.3 kB / 1.332 GB, free: 17.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003685/1.511, allocations: 1.466 MB / 1.333 GB, free: 17.35 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/1.511, allocations: 105.8 kB / 1.333 GB, free: 17.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002999/1.511, allocations: 127.4 kB / 1.333 GB, free: 17.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003042/1.514, allocations: 1.601 MB / 1.335 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.719e-05/1.514, allocations: 8.219 kB / 1.335 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/1.515, allocations: 54.09 kB / 1.335 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/1.515, allocations: 94.36 kB / 1.335 GB, free: 16.92 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/1.517, allocations: 1.063 MB / 1.336 GB, free: 16.91 MB / 1.014 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.01231/1.529, allocations: 8.137 MB / 1.344 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/1.53, allocations: 0.7292 MB / 1.345 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004861/1.531, allocations: 306 kB / 1.345 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006555/1.531, allocations: 0.613 MB / 1.346 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.229e-05/1.531, allocations: 46.33 kB / 1.346 GB, free: 10.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 2.465e-06/1.531, allocations: 0 / 1.346 GB, free: 10.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.002265/1.534, allocations: 0.9657 MB / 1.347 GB, free: 10.57 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/1.534, allocations: 163.3 kB / 1.347 GB, free: 10.38 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004885/1.539, allocations: 3.098 MB / 1.35 GB, free: 10.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/1.539, allocations: 37.33 kB / 1.35 GB, free: 10.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007199/1.54, allocations: 1.035 MB / 1.351 GB, free: 9.914 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/1.54, allocations: 184.2 kB / 1.351 GB, free: 9.793 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/1.54, allocations: 98.59 kB / 1.351 GB, free: 9.773 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.54, allocations: 324.7 kB / 1.351 GB, free: 9.469 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/1.541, allocations: 218.2 kB / 1.352 GB, free: 9.465 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/1.541, allocations: 320 kB / 1.352 GB, free: 9.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008121/1.542, allocations: 0.5476 MB / 1.352 GB, free: 9.098 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/1.542, allocations: 0 / 1.352 GB, free: 9.098 MB / 1.014 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001524/1.543, allocations: 0.8002 MB / 1.353 GB, free: 8.805 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.543, allocations: 5.281 kB / 1.353 GB, free: 8.805 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/1.543, allocations: 6.312 kB / 1.353 GB, free: 8.805 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/1.543, allocations: 4.938 kB / 1.353 GB, free: 8.805 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/1.544, allocations: 106 kB / 1.353 GB, free: 8.801 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/1.544, allocations: 8.594 kB / 1.353 GB, free: 8.797 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/1.545, allocations: 92.84 kB / 1.353 GB, free: 8.734 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/1.545, allocations: 25.53 kB / 1.353 GB, free: 8.727 MB / 1.014 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.0008456/1.546, allocations: 0.5408 MB / 1.354 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/1.546, allocations: 225.5 kB / 1.354 GB, free: 8.379 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/1.548, allocations: 0.7959 MB / 1.355 GB, free: 8.109 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/1.548, allocations: 5.531 kB / 1.355 GB, free: 8.109 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.548, allocations: 7.938 kB / 1.355 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/1.548, allocations: 5.594 kB / 1.355 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/1.551, allocations: 2.022 MB / 1.357 GB, free: 7.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.551, allocations: 2.125 kB / 1.357 GB, free: 7.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004234/1.551, allocations: 97.45 kB / 1.357 GB, free: 7.086 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/1.551, allocations: 4.719 kB / 1.357 GB, free: 7.086 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/1.551, allocations: 15.7 kB / 1.357 GB, free: 7.078 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.551, allocations: 4.812 kB / 1.357 GB, free: 7.078 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.551, allocations: 8.969 kB / 1.357 GB, free: 7.074 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/1.553, allocations: 1.267 MB / 1.358 GB, free: 6.512 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007729/1.554, allocations: 391 kB / 1.359 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/1.554, allocations: 21 kB / 1.359 GB, free: 6.242 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006237/1.555, allocations: 20.45 kB / 1.359 GB, free: 6.234 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.452e-05/1.555, allocations: 37.09 kB / 1.359 GB, free: 6.227 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/1.555, allocations: 21.45 kB / 1.359 GB, free: 6.223 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003029/1.558, allocations: 2.216 MB / 1.361 GB, free: 5.516 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.41e-07/1.558, allocations: 0 / 1.361 GB, free: 5.516 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001503/1.559, allocations: 462 kB / 1.361 GB, free: 5.441 MB / 1.014 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.001317/1.561, allocations: 0.5305 MB / 1.362 GB, free: 5.215 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001125/1.562, allocations: 0.6009 MB / 1.362 GB, free: 5.098 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.562, allocations: 0 / 1.362 GB, free: 5.098 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004191/1.562, allocations: 297.1 kB / 1.363 GB, free: 5.035 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003895/1.566, allocations: 0.8575 MB / 1.364 GB, free: 4.73 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0062/1.572, allocations: 4.254 MB / 1.368 GB, free: 2.695 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/1.574, allocations: 1.637 MB / 1.369 GB, free: 1.887 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00187/1.576, allocations: 452.7 kB / 1.37 GB, free: 1.805 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/1.576, allocations: 148 kB / 1.37 GB, free: 1.789 MB / 1.014 GB Notification: Performance of SimCode: time 2.124e-06/1.576, allocations: 0 / 1.37 GB, free: 1.789 MB / 1.014 GB Notification: Performance of Templates: time 0.06347/1.639, allocations: 32.16 MB / 1.401 GB, free: 8.355 MB / 1.045 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