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.001072/0.001072, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001129/0.001129, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.167/1.167, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.007/2.007, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 63.91 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4806/0.4817, allocations: 140.4 MB / 0.949 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.1839/0.6656, allocations: 215.9 MB / 1.16 GB, free: 9.453 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02515/0.6908, allocations: 26.71 MB / 1.186 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.692, allocations: 35.81 kB / 1.186 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.694, allocations: 1.015 MB / 1.187 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005345/0.6994, allocations: 2.941 MB / 1.19 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002953/0.7023, allocations: 1.513 MB / 1.191 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004421/0.7068, allocations: 5.838 MB / 1.197 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.708, allocations: 1.228 MB / 1.198 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002915/0.7109, allocations: 2.07 MB / 1.2 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.7123, allocations: 1.553 MB / 1.202 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.7125, allocations: 88 kB / 1.202 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.7156, allocations: 2.132 MB / 1.204 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005769/0.7162, allocations: 0.8177 MB / 1.205 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008988/0.7171, allocations: 1.134 MB / 1.206 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002602/0.7197, allocations: 3.064 MB / 1.209 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.7197, allocations: 0 / 1.209 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.62e-07/0.7197, allocations: 0 / 1.209 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.7197, allocations: 0 / 1.209 GB, free: 7.148 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.003435/0.7232, allocations: 2.869 MB / 1.212 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.7232, allocations: 8.031 kB / 1.212 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/0.7234, allocations: 198.6 kB / 1.212 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.7249, allocations: 448.3 kB / 1.212 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.7274, allocations: 2.733 MB / 1.215 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.64e-05/0.7275, allocations: 94.53 kB / 1.215 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.7276, allocations: 128 kB / 1.215 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.7296, allocations: 1.603 MB / 1.217 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.7296, allocations: 7.938 kB / 1.217 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.779e-05/0.7297, allocations: 48 kB / 1.217 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-05/0.7298, allocations: 97.89 kB / 1.217 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.7313, allocations: 1.061 MB / 1.218 GB, free: 13.58 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.006196/0.7375, allocations: 8.44 MB / 1.226 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008938/0.7384, allocations: 0.7193 MB / 1.227 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003952/0.7388, allocations: 312.1 kB / 1.227 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004726/0.7393, allocations: 0.6091 MB / 1.228 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.7393, allocations: 50.5 kB / 1.228 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=50): time 1.573e-06/0.7393, allocations: 0 / 1.228 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50): time 0.001413/0.7408, allocations: 0.9639 MB / 1.229 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.7408, allocations: 166.2 kB / 1.229 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004395/0.7452, allocations: 4.69 MB / 1.233 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.7453, allocations: 33.7 kB / 1.233 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007561/0.746, allocations: 1.074 MB / 1.235 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.7462, allocations: 173.4 kB / 1.235 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.7463, allocations: 98.14 kB / 1.235 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.7464, allocations: 326 kB / 1.235 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/0.7467, allocations: 221 kB / 1.235 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/0.7471, allocations: 314.9 kB / 1.236 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007172/0.7479, allocations: 0.5649 MB / 1.236 GB, free: 10 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.7479, allocations: 0 / 1.236 GB, free: 10 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001031/0.7489, allocations: 0.7951 MB / 1.237 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.7489, allocations: 16.28 kB / 1.237 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.749, allocations: 7.938 kB / 1.237 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.749, allocations: 8 kB / 1.237 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.7493, allocations: 103.8 kB / 1.237 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.7494, allocations: 4 kB / 1.237 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007967/0.7502, allocations: 154.8 kB / 1.237 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.7502, allocations: 16 kB / 1.237 GB, free: 8.891 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.0005733/0.7508, allocations: 0.5443 MB / 1.238 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/0.7511, allocations: 233 kB / 1.238 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.7522, allocations: 0.8079 MB / 1.239 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.7522, allocations: 4.094 kB / 1.239 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.7522, allocations: 11.92 kB / 1.239 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.7522, allocations: 3.984 kB / 1.239 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.7546, allocations: 2.092 MB / 1.241 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.7546, allocations: 0 / 1.241 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.755, allocations: 95.89 kB / 1.241 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.755, allocations: 7.938 kB / 1.241 GB, free: 5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.7551, allocations: 16 kB / 1.241 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.7551, allocations: 4 kB / 1.241 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7551, allocations: 0 / 1.241 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.7565, allocations: 1.282 MB / 1.242 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005261/0.7571, allocations: 414 kB / 1.243 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.7573, allocations: 12 kB / 1.243 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007296/0.758, allocations: 79.86 kB / 1.243 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.7581, allocations: 40.33 kB / 1.243 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.7582, allocations: 23.98 kB / 1.243 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.3468/1.105, allocations: 3.502 MB / 1.246 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.52e-07/1.105, allocations: 0 / 1.246 GB, free: 285.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001398/1.106, allocations: 470.8 kB / 1.247 GB, free: 285.4 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.002741/1.109, allocations: 2.264 MB / 1.249 GB, free: 284.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000844/1.11, allocations: 0.5332 MB / 1.249 GB, free: 284.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.11, allocations: 4.688 kB / 1.249 GB, free: 284.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004101/1.11, allocations: 293.5 kB / 1.25 GB, free: 284.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003196/1.114, allocations: 0.8187 MB / 1.25 GB, free: 284.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02307/1.137, allocations: 21.92 MB / 1.272 GB, free: 272.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008587/1.138, allocations: 1.636 MB / 1.273 GB, free: 271.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001326/1.139, allocations: 472.2 kB / 1.274 GB, free: 271.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007296/1.14, allocations: 0.9424 MB / 1.275 GB, free: 270.8 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/1.14, allocations: 4 kB / 1.275 GB, free: 270.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04898/1.189, allocations: 47.17 MB / 1.321 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/1.189, allocations: 244.4 kB / 1.321 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/3.688, allocations: 0 / 1.321 GB, free: 229.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