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.001109/0.001108, allocations: 99.58 kB / 16.02 MB, free: 76 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.001729/0.001729, allocations: 182.2 kB / 16.92 MB, free: 6.918 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.498/1.498, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.922/2.922, allocations: 462.7 MB / 0.7371 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003942, allocations: 8.875 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4076, allocations: 159.6 MB / 1.059 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 1.198/1.606, allocations: 212.9 MB / 1.267 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03191/1.638, allocations: 26.36 MB / 1.293 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/1.64, allocations: 28 kB / 1.293 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003492/1.644, allocations: 1.011 MB / 1.294 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01062/1.655, allocations: 2.948 MB / 1.297 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005398/1.66, allocations: 1.514 MB / 1.298 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009288/1.669, allocations: 5.839 MB / 1.304 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/1.672, allocations: 1.2 MB / 1.305 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006422/1.678, allocations: 2.053 MB / 1.307 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003798/1.682, allocations: 1.524 MB / 1.309 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003145/1.683, allocations: 73.66 kB / 1.309 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006334/1.689, allocations: 2.11 MB / 1.311 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001174/1.69, allocations: 0.7934 MB / 1.312 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002493/1.693, allocations: 1.104 MB / 1.313 GB, free: 17.84 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003686/1.696, allocations: 2.114 MB / 1.315 GB, free: 17.62 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/1.696, allocations: 0 / 1.315 GB, free: 17.62 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.955e-06/1.696, allocations: 2.219 kB / 1.315 GB, free: 17.62 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.69e-05/1.696, allocations: 4 kB / 1.315 GB, free: 17.62 MB / 1.014 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.004342/1.701, allocations: 2.379 MB / 1.317 GB, free: 16.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/1.701, allocations: 13.56 kB / 1.317 GB, free: 16.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/1.703, allocations: 436.6 kB / 1.318 GB, free: 16.12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/1.705, allocations: 1.462 MB / 1.319 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.523e-05/1.705, allocations: 105.7 kB / 1.319 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/1.706, allocations: 128.8 kB / 1.319 GB, free: 15.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002402/1.708, allocations: 1.602 MB / 1.321 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.817e-05/1.708, allocations: 12.47 kB / 1.321 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.56e-05/1.708, allocations: 54.06 kB / 1.321 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/1.708, allocations: 91.22 kB / 1.321 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/1.71, allocations: 1.067 MB / 1.322 GB, free: 15.13 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.009755/1.72, allocations: 8.105 MB / 1.33 GB, free: 9.828 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/1.721, allocations: 0.7409 MB / 1.331 GB, free: 9.695 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004309/1.721, allocations: 305.9 kB / 1.331 GB, free: 9.656 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006503/1.722, allocations: 0.615 MB / 1.331 GB, free: 8.992 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/1.722, allocations: 43.47 kB / 1.332 GB, free: 8.953 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 3.387e-06/1.722, allocations: 0 / 1.332 GB, free: 8.953 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.00194/1.724, allocations: 0.9782 MB / 1.332 GB, free: 8.793 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.973e-05/1.724, allocations: 163.7 kB / 1.333 GB, free: 8.602 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004745/1.729, allocations: 3.101 MB / 1.336 GB, free: 8.383 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/1.729, allocations: 35.98 kB / 1.336 GB, free: 8.352 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009315/1.73, allocations: 1.033 MB / 1.337 GB, free: 8.141 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/1.73, allocations: 178.3 kB / 1.337 GB, free: 8.027 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.76e-05/1.73, allocations: 48.98 kB / 1.337 GB, free: 8.012 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.73, allocations: 326.7 kB / 1.337 GB, free: 7.703 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/1.731, allocations: 230.7 kB / 1.337 GB, free: 7.699 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00048/1.731, allocations: 321.8 kB / 1.338 GB, free: 7.605 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009059/1.732, allocations: 0.5717 MB / 1.338 GB, free: 7.504 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.732, allocations: 2.906 kB / 1.338 GB, free: 7.504 MB / 1.014 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001707/1.734, allocations: 0.8015 MB / 1.339 GB, free: 7.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/1.734, allocations: 10.53 kB / 1.339 GB, free: 7.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.734, allocations: 3.531 kB / 1.339 GB, free: 7.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/1.734, allocations: 7.094 kB / 1.339 GB, free: 7.336 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/1.735, allocations: 105.5 kB / 1.339 GB, free: 7.336 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/1.735, allocations: 9.078 kB / 1.339 GB, free: 7.336 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/1.736, allocations: 157.7 kB / 1.339 GB, free: 7.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/1.736, allocations: 20.14 kB / 1.339 GB, free: 7.27 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.001297/1.738, allocations: 0.5379 MB / 1.34 GB, free: 7.156 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004254/1.738, allocations: 228.7 kB / 1.34 GB, free: 7.035 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/1.739, allocations: 0.8014 MB / 1.341 GB, free: 6.957 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/1.739, allocations: 8.547 kB / 1.341 GB, free: 6.957 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/1.739, allocations: 3.938 kB / 1.341 GB, free: 6.953 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/1.739, allocations: 5.953 kB / 1.341 GB, free: 6.953 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003535/1.743, allocations: 2.023 MB / 1.343 GB, free: 6.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/1.743, allocations: 1.5 kB / 1.343 GB, free: 6.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/1.743, allocations: 104.2 kB / 1.343 GB, free: 6.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/1.743, allocations: 9.953 kB / 1.343 GB, free: 6.336 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/1.744, allocations: 12.44 kB / 1.343 GB, free: 6.336 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.024e-06/1.744, allocations: 6.438 kB / 1.343 GB, free: 6.336 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.744, allocations: 3.984 kB / 1.343 GB, free: 6.332 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/1.745, allocations: 1.287 MB / 1.344 GB, free: 5.996 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000888/1.746, allocations: 392 kB / 1.345 GB, free: 5.781 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004646/1.747, allocations: 13.84 kB / 1.345 GB, free: 5.781 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.748, allocations: 88.27 kB / 1.345 GB, free: 5.766 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.124e-05/1.748, allocations: 34.56 kB / 1.345 GB, free: 5.766 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/1.748, allocations: 20.53 kB / 1.345 GB, free: 5.762 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00325/1.751, allocations: 2.22 MB / 1.347 GB, free: 5.613 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.751, allocations: 2.734 kB / 1.347 GB, free: 5.613 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001613/1.753, allocations: 465.3 kB / 1.347 GB, free: 5.562 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.001558/1.754, allocations: 0.5285 MB / 1.348 GB, free: 5.367 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001002/1.755, allocations: 0.5435 MB / 1.348 GB, free: 5.355 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.755, allocations: 0.5 kB / 1.348 GB, free: 5.355 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004833/1.756, allocations: 300.1 kB / 1.349 GB, free: 5.352 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005034/1.761, allocations: 0.8239 MB / 1.35 GB, free: 5.273 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008436/1.769, allocations: 5.033 MB / 1.354 GB, free: 2.816 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001863/1.771, allocations: 1.613 MB / 1.356 GB, free: 2.07 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006225/1.772, allocations: 152.2 kB / 1.356 GB, free: 2.062 MB / 1.014 GB Notification: Performance of SimCode: time 8.32e-07/1.772, allocations: 4 kB / 1.356 GB, free: 2.059 MB / 1.014 GB Notification: Performance of Templates: time 0.06054/1.832, allocations: 32.66 MB / 1.388 GB, free: 12.28 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/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