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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001369/0.001369, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.352/1.352, allocations: 222.9 MB / 239.8 MB, free: 4.531 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.572/2.572, allocations: 437 MB / 0.7099 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 60.09 kB / 0.8686 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5617/0.5631, allocations: 151.6 MB / 1.017 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2085/0.7716, allocations: 215.9 MB / 1.228 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.5512/1.323, allocations: 26.71 MB / 1.254 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001772/1.325, allocations: 28.88 kB / 1.254 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003073/1.328, allocations: 1.015 MB / 1.255 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007939/1.336, allocations: 2.943 MB / 1.258 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004282/1.34, allocations: 1.51 MB / 1.259 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008711/1.349, allocations: 5.826 MB / 1.265 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003284/1.352, allocations: 1.23 MB / 1.266 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006196/1.358, allocations: 2.079 MB / 1.268 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003474/1.362, allocations: 1.555 MB / 1.269 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006649/1.363, allocations: 86.69 kB / 1.27 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005589/1.368, allocations: 2.122 MB / 1.272 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00143/1.37, allocations: 0.8193 MB / 1.272 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003285/1.373, allocations: 1.136 MB / 1.273 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006369/1.379, allocations: 3.076 MB / 1.277 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.379, allocations: 0 / 1.277 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.342e-06/1.379, allocations: 0.875 kB / 1.277 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.437e-05/1.379, allocations: 0 / 1.277 GB, free: 1.465 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.004963/1.384, allocations: 2.861 MB / 1.279 GB, free: 15.99 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.384, allocations: 9.562 kB / 1.279 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002029/1.385, allocations: 204 kB / 1.279 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/1.387, allocations: 440.7 kB / 1.28 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003432/1.39, allocations: 2.731 MB / 1.283 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.679e-05/1.39, allocations: 93.62 kB / 1.283 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/1.39, allocations: 131.8 kB / 1.283 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/1.392, allocations: 1.591 MB / 1.284 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/1.392, allocations: 15.12 kB / 1.284 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-05/1.393, allocations: 56.45 kB / 1.284 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.055e-05/1.393, allocations: 90.66 kB / 1.285 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/1.394, allocations: 1.059 MB / 1.286 GB, free: 14.81 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.007514/1.402, allocations: 8.45 MB / 1.294 GB, free: 9.531 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008174/1.402, allocations: 0.736 MB / 1.295 GB, free: 9.402 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003886/1.403, allocations: 306.1 kB / 1.295 GB, free: 9.359 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005071/1.403, allocations: 0.6109 MB / 1.295 GB, free: 8.699 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/1.403, allocations: 40.06 kB / 1.295 GB, free: 8.66 MB / 1.014 GB Notification: Performance of pre-optimization done (n=50): time 2.816e-06/1.403, allocations: 0 / 1.295 GB, free: 8.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=50): time 0.001514/1.405, allocations: 0.9784 MB / 1.296 GB, free: 8.488 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/1.405, allocations: 164 kB / 1.297 GB, free: 8.301 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004475/1.41, allocations: 4.691 MB / 1.301 GB, free: 8.082 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.815e-05/1.41, allocations: 35.39 kB / 1.301 GB, free: 8.051 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006944/1.41, allocations: 1.064 MB / 1.302 GB, free: 7.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/1.41, allocations: 174.7 kB / 1.302 GB, free: 7.727 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/1.411, allocations: 98.11 kB / 1.302 GB, free: 7.707 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.411, allocations: 334.1 kB / 1.303 GB, free: 7.398 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/1.411, allocations: 215.5 kB / 1.303 GB, free: 7.398 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/1.411, allocations: 314.8 kB / 1.303 GB, free: 7.309 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/1.412, allocations: 0.5624 MB / 1.304 GB, free: 7.207 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.412, allocations: 0 / 1.304 GB, free: 7.207 MB / 1.014 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001201/1.413, allocations: 0.8016 MB / 1.305 GB, free: 7.047 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.413, allocations: 9.219 kB / 1.305 GB, free: 7.043 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/1.413, allocations: 2.875 kB / 1.305 GB, free: 7.043 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.413, allocations: 8.844 kB / 1.305 GB, free: 7.039 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/1.414, allocations: 110.5 kB / 1.305 GB, free: 7.039 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/1.414, allocations: 4.453 kB / 1.305 GB, free: 7.039 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/1.415, allocations: 153.8 kB / 1.305 GB, free: 6.973 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/1.415, allocations: 23.22 kB / 1.305 GB, free: 6.973 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.000773/1.416, allocations: 0.5453 MB / 1.305 GB, free: 6.855 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003565/1.416, allocations: 230.2 kB / 1.306 GB, free: 6.734 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/1.417, allocations: 0.8103 MB / 1.306 GB, free: 6.648 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/1.417, allocations: 3.25 kB / 1.306 GB, free: 6.648 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.417, allocations: 2.312 kB / 1.306 GB, free: 6.648 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.417, allocations: 5.609 kB / 1.306 GB, free: 6.648 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/1.42, allocations: 2.087 MB / 1.309 GB, free: 6.035 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/1.42, allocations: 2.125 kB / 1.309 GB, free: 6.035 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/1.421, allocations: 98.44 kB / 1.309 GB, free: 6.035 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/1.421, allocations: 6.75 kB / 1.309 GB, free: 6.035 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/1.421, allocations: 18.55 kB / 1.309 GB, free: 6.035 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/1.421, allocations: 1.781 kB / 1.309 GB, free: 6.035 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.421, allocations: 3.438 kB / 1.309 GB, free: 6.035 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/1.422, allocations: 1.277 MB / 1.31 GB, free: 5.699 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007212/1.423, allocations: 417.4 kB / 1.31 GB, free: 5.477 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/1.423, allocations: 15.84 kB / 1.31 GB, free: 5.477 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008276/1.424, allocations: 85.75 kB / 1.31 GB, free: 5.465 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.371e-05/1.424, allocations: 46.05 kB / 1.31 GB, free: 5.461 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/1.424, allocations: 16.59 kB / 1.31 GB, free: 5.461 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003485/1.428, allocations: 3.505 MB / 1.314 GB, free: 5.316 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.428, allocations: 2.25 kB / 1.314 GB, free: 5.316 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001385/1.429, allocations: 468.4 kB / 1.314 GB, free: 5.262 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.0031/1.432, allocations: 2.259 MB / 1.317 GB, free: 4.305 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008818/1.433, allocations: 0.5275 MB / 1.317 GB, free: 4.301 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.433, allocations: 0.5 kB / 1.317 GB, free: 4.301 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004029/1.433, allocations: 300.2 kB / 1.317 GB, free: 4.289 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00384/1.437, allocations: 0.8255 MB / 1.318 GB, free: 4.211 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02925/1.467, allocations: 21.92 MB / 1.34 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/1.468, allocations: 1.636 MB / 1.341 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001754/1.47, allocations: 469.5 kB / 1.342 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009761/1.471, allocations: 0.9386 MB / 1.342 GB, free: 12.09 MB / 1.029 GB Notification: Performance of SimCode: time 1.553e-06/1.471, allocations: 0 / 1.342 GB, free: 12.09 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07372/1.544, allocations: 47.17 MB / 1.389 GB, free: 2.922 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/1.544, allocations: 249.7 kB / 1.389 GB, free: 2.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.689/4.234, allocations: 0 / 1.389 GB, free: 2.66 MB / 1.061 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > 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:dP,der(ela.mExc),der(ori.mExc),der(pow_1dat.mExc),der(pow_2dat.mExc),der(pow_V_flow.mExc),der(pow_m_flow.mExc),der(tabDat_V_flow.mExc),der(tabDat_m_flow.mExc),ela.mExc,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],ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_V_flow.mExc,pow_m_flow.mExc,tabDat_V_flow.mExc,tabDat_m_flow.mExc,time