Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0007885/0.0007884, allocations: 99.42 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.0009158/0.0009155, allocations: 185.4 kB / 16.92 MB, free: 6.688 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.667/2.667, allocations: 437.8 MB / 0.7128 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.000362, allocations: 12 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7181/0.7185, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2397/0.9583, allocations: 213 MB / 1.232 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.7554/1.714, allocations: 26.34 MB / 1.257 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002237/1.716, allocations: 27.78 kB / 1.257 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003029/1.719, allocations: 1.015 MB / 1.258 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009445/1.729, allocations: 2.946 MB / 1.261 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005284/1.734, allocations: 1.509 MB / 1.263 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008707/1.743, allocations: 5.84 MB / 1.268 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002913/1.746, allocations: 1.207 MB / 1.27 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005894/1.751, allocations: 2.047 MB / 1.272 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003552/1.755, allocations: 1.516 MB / 1.273 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006355/1.756, allocations: 74.66 kB / 1.273 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006224/1.762, allocations: 2.108 MB / 1.275 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001457/1.763, allocations: 0.8047 MB / 1.276 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003307/1.767, allocations: 1.109 MB / 1.277 GB, free: 17.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004035/1.771, allocations: 2.11 MB / 1.279 GB, free: 17.54 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.771, allocations: 0 / 1.279 GB, free: 17.54 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.344e-06/1.771, allocations: 0 / 1.279 GB, free: 17.54 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001418/1.771, allocations: 0 / 1.279 GB, free: 17.54 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.004948/1.776, allocations: 2.38 MB / 1.281 GB, free: 16.2 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.776, allocations: 13.09 kB / 1.281 GB, free: 16.19 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/1.778, allocations: 430.9 kB / 1.282 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/1.781, allocations: 1.47 MB / 1.283 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.984e-05/1.781, allocations: 103.4 kB / 1.283 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/1.781, allocations: 130.8 kB / 1.284 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002761/1.784, allocations: 1.601 MB / 1.285 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-05/1.784, allocations: 8.031 kB / 1.285 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.556e-05/1.784, allocations: 50.3 kB / 1.285 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-05/1.784, allocations: 91.33 kB / 1.285 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/1.786, allocations: 1.071 MB / 1.286 GB, free: 15.07 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.008554/1.795, allocations: 8.102 MB / 1.294 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009499/1.796, allocations: 0.7362 MB / 1.295 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004322/1.796, allocations: 316.4 kB / 1.295 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005383/1.797, allocations: 0.6096 MB / 1.296 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/1.797, allocations: 47.83 kB / 1.296 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=50): time 2.344e-06/1.797, allocations: 0 / 1.296 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=50): time 0.001804/1.799, allocations: 0.9845 MB / 1.297 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.322e-05/1.799, allocations: 160.3 kB / 1.297 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005126/1.804, allocations: 3.1 MB / 1.3 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.48e-05/1.804, allocations: 36.02 kB / 1.3 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/1.805, allocations: 1.039 MB / 1.301 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/1.805, allocations: 173.5 kB / 1.301 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-05/1.805, allocations: 49.39 kB / 1.301 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.805, allocations: 329.7 kB / 1.302 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003477/1.806, allocations: 218.8 kB / 1.302 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000422/1.806, allocations: 328 kB / 1.302 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007553/1.807, allocations: 0.5732 MB / 1.303 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.807, allocations: 0 / 1.303 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001428/1.808, allocations: 0.805 MB / 1.303 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/1.808, allocations: 10.47 kB / 1.303 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/1.808, allocations: 2.906 kB / 1.303 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.808, allocations: 3.125 kB / 1.303 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/1.809, allocations: 111.5 kB / 1.304 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/1.809, allocations: 4.766 kB / 1.304 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/1.81, allocations: 153.2 kB / 1.304 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/1.81, allocations: 21.33 kB / 1.304 GB, free: 7.227 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007718/1.811, allocations: 0.5435 MB / 1.304 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004964/1.811, allocations: 232 kB / 1.305 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/1.813, allocations: 0.8041 MB / 1.305 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/1.813, allocations: 6.859 kB / 1.305 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.813, allocations: 0 / 1.305 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/1.813, allocations: 10.19 kB / 1.305 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003497/1.816, allocations: 2.021 MB / 1.307 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.816, allocations: 4.031 kB / 1.307 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004007/1.817, allocations: 101.6 kB / 1.307 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/1.817, allocations: 3.125 kB / 1.307 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.774e-05/1.817, allocations: 15.05 kB / 1.307 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/1.817, allocations: 6.094 kB / 1.307 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.817, allocations: 4.766 kB / 1.307 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/1.818, allocations: 1.282 MB / 1.309 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008194/1.819, allocations: 395.6 kB / 1.309 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003962/1.82, allocations: 13.91 kB / 1.309 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/1.821, allocations: 94.31 kB / 1.309 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.049e-05/1.821, allocations: 45.66 kB / 1.309 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/1.821, allocations: 18.38 kB / 1.309 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003233/1.824, allocations: 2.214 MB / 1.311 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.824, allocations: 0 / 1.311 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001365/1.825, allocations: 470.3 kB / 1.312 GB, free: 5.508 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 (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.001458/1.827, allocations: 0.5253 MB / 1.312 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009479/1.828, allocations: 0.5422 MB / 1.313 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.828, allocations: 0 / 1.313 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004426/1.828, allocations: 295.7 kB / 1.313 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004494/1.833, allocations: 0.8316 MB / 1.314 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007457/1.84, allocations: 5.044 MB / 1.319 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00185/1.842, allocations: 1.618 MB / 1.32 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005856/1.843, allocations: 151.2 kB / 1.321 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of SimCode: time 1.222e-06/1.843, allocations: 0 / 1.321 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of Templates: time 0.06216/1.905, allocations: 32.65 MB / 1.352 GB, free: 15.97 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & ./Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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] Variables in the result: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],time