Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_9_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.0007732/0.0007732, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004392/0.004392, allocations: 170 kB / 16.26 MB, free: 6.613 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.223/1.223, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.055/2.055, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002796/0.0002796, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5089/0.5092, allocations: 142.4 MB / 0.9552 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.1815/0.6907, allocations: 213 MB / 1.163 GB, free: 9.633 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02505/0.7158, allocations: 26.34 MB / 1.189 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007424/0.7166, allocations: 27.81 kB / 1.189 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.7184, allocations: 1.019 MB / 1.19 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004861/0.7233, allocations: 2.944 MB / 1.193 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.7261, allocations: 1.504 MB / 1.194 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004416/0.7305, allocations: 5.84 MB / 1.2 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.7318, allocations: 1.206 MB / 1.201 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002885/0.7347, allocations: 2.054 MB / 1.203 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.7361, allocations: 1.518 MB / 1.205 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.7362, allocations: 72 kB / 1.205 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002823/0.7391, allocations: 2.108 MB / 1.207 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005681/0.7396, allocations: 0.806 MB / 1.207 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008456/0.7405, allocations: 1.139 MB / 1.209 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002484/0.743, allocations: 3.04 MB / 1.212 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.743, allocations: 0 / 1.212 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.192e-06/0.743, allocations: 0 / 1.212 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.743, allocations: 0 / 1.212 GB, free: 7.848 MB / 0.9669 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.003068/0.7461, allocations: 2.446 MB / 1.214 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.7461, allocations: 16.02 kB / 1.214 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/0.7463, allocations: 194.6 kB / 1.214 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.7478, allocations: 452.2 kB / 1.215 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002579/0.7504, allocations: 2.726 MB / 1.217 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.249e-05/0.7504, allocations: 94.53 kB / 1.217 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.7506, allocations: 131.9 kB / 1.217 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.7525, allocations: 1.603 MB / 1.219 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/0.7526, allocations: 11.84 kB / 1.219 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.423e-05/0.7527, allocations: 52 kB / 1.219 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.893e-05/0.7527, allocations: 93.84 kB / 1.219 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.7542, allocations: 1.075 MB / 1.22 GB, free: 14.68 MB / 0.9825 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.006019/0.7603, allocations: 8.448 MB / 1.228 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008757/0.7611, allocations: 0.7311 MB / 1.229 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004016/0.7616, allocations: 324.1 kB / 1.23 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004491/0.762, allocations: 0.6091 MB / 1.23 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.7621, allocations: 46.48 kB / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 1.533e-06/0.7621, allocations: 0 / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.001398/0.7635, allocations: 0.9911 MB / 1.231 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.7635, allocations: 158.2 kB / 1.231 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004366/0.7679, allocations: 4.694 MB / 1.236 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.7679, allocations: 33.7 kB / 1.236 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007331/0.7687, allocations: 1.074 MB / 1.237 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.7688, allocations: 177.3 kB / 1.237 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.7689, allocations: 49.69 kB / 1.237 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.504e-05/0.769, allocations: 322 kB / 1.237 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.7693, allocations: 225 kB / 1.238 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/0.7697, allocations: 322.9 kB / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007161/0.7704, allocations: 0.5766 MB / 1.239 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.7704, allocations: 0 / 1.239 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001011/0.7714, allocations: 0.8108 MB / 1.239 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.7715, allocations: 9.188 kB / 1.239 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.7715, allocations: 4 kB / 1.239 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.7715, allocations: 4.109 kB / 1.239 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.7719, allocations: 111.8 kB / 1.239 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.7719, allocations: 8 kB / 1.239 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/0.7727, allocations: 155 kB / 1.24 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.7727, allocations: 23.98 kB / 1.24 GB, free: 9.949 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.0005742/0.7733, allocations: 0.5482 MB / 1.24 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/0.7736, allocations: 233 kB / 1.24 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.7747, allocations: 0.804 MB / 1.241 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.7747, allocations: 4 kB / 1.241 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7748, allocations: 4 kB / 1.241 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.7748, allocations: 3.984 kB / 1.241 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.7772, allocations: 2.096 MB / 1.243 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.7772, allocations: 7.938 kB / 1.243 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000388/0.7776, allocations: 99.83 kB / 1.243 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.7776, allocations: 4 kB / 1.243 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.7776, allocations: 16 kB / 1.243 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.7776, allocations: 7.984 kB / 1.243 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7776, allocations: 0 / 1.243 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.7791, allocations: 1.286 MB / 1.245 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005173/0.7796, allocations: 425.8 kB / 1.245 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.7798, allocations: 12 kB / 1.245 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007699/0.7806, allocations: 83.86 kB / 1.245 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/0.7807, allocations: 40.33 kB / 1.245 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.7807, allocations: 16 kB / 1.245 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003172/0.7839, allocations: 3.514 MB / 1.249 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7839, allocations: 0 / 1.249 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008548/0.7847, allocations: 475.1 kB / 1.249 GB, free: 144 kB / 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.3824/1.167, allocations: 2.265 MB / 1.251 GB, free: 284.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008931/1.168, allocations: 0.5393 MB / 1.252 GB, free: 284.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.168, allocations: 2.5 kB / 1.252 GB, free: 284.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004193/1.169, allocations: 301.4 kB / 1.252 GB, free: 284.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004024/1.173, allocations: 0.8247 MB / 1.253 GB, free: 284.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02431/1.197, allocations: 22.07 MB / 1.274 GB, free: 273.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009221/1.198, allocations: 1.645 MB / 1.276 GB, free: 271.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001307/1.199, allocations: 462.7 kB / 1.276 GB, free: 271.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000716/1.2, allocations: 0.9391 MB / 1.277 GB, free: 270.9 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.2, allocations: 0 / 1.277 GB, free: 270.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.049/1.249, allocations: 46.38 MB / 1.323 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/1.249, allocations: 235.7 kB / 1.323 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/3.808, allocations: 0 / 1.323 GB, free: 228.1 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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