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.0008598/0.0008598, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005014/0.005014, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.2/1.2, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.295/2.295, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003105, allocations: 12 kB / 0.8729 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5647/0.565, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.2094/0.7745, allocations: 212.9 MB / 1.231 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.5304/1.305, allocations: 26.33 MB / 1.257 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/1.306, allocations: 24.94 kB / 1.257 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002289/1.309, allocations: 1.015 MB / 1.258 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00645/1.315, allocations: 2.941 MB / 1.261 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00383/1.319, allocations: 1.521 MB / 1.262 GB, free: 2 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00659/1.325, allocations: 5.838 MB / 1.268 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/1.327, allocations: 1.214 MB / 1.269 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003804/1.331, allocations: 2.04 MB / 1.271 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/1.332, allocations: 1.523 MB / 1.273 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/1.333, allocations: 73.94 kB / 1.273 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003785/1.336, allocations: 2.119 MB / 1.275 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000603/1.337, allocations: 0.802 MB / 1.275 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/1.338, allocations: 1.132 MB / 1.277 GB, free: 17.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002477/1.34, allocations: 3.038 MB / 1.28 GB, free: 17.51 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/1.34, allocations: 2.594 kB / 1.28 GB, free: 17.51 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/1.34, allocations: 0 / 1.28 GB, free: 17.51 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.942e-05/1.341, allocations: 3.938 kB / 1.28 GB, free: 17.5 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.002888/1.343, allocations: 2.453 MB / 1.282 GB, free: 16.13 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/1.343, allocations: 9.688 kB / 1.282 GB, free: 16.13 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001833/1.344, allocations: 197.9 kB / 1.282 GB, free: 16.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/1.345, allocations: 449.2 kB / 1.283 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/1.347, allocations: 2.724 MB / 1.285 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.1e-05/1.347, allocations: 95.78 kB / 1.285 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/1.348, allocations: 133.8 kB / 1.285 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/1.349, allocations: 1.605 MB / 1.287 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/1.349, allocations: 9.062 kB / 1.287 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.892e-05/1.35, allocations: 54.75 kB / 1.287 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.173e-05/1.35, allocations: 95.77 kB / 1.287 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/1.351, allocations: 1.065 MB / 1.288 GB, free: 14.95 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.005861/1.357, allocations: 8.45 MB / 1.296 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008059/1.358, allocations: 0.7402 MB / 1.297 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/1.358, allocations: 315.3 kB / 1.297 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004624/1.358, allocations: 0.6104 MB / 1.298 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/1.358, allocations: 40.84 kB / 1.298 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=50): time 1.823e-06/1.358, allocations: 0 / 1.298 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=50): time 0.001335/1.36, allocations: 0.9918 MB / 1.299 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/1.36, allocations: 161.2 kB / 1.299 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003941/1.364, allocations: 4.69 MB / 1.304 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/1.364, allocations: 39.61 kB / 1.304 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006611/1.365, allocations: 1.068 MB / 1.305 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/1.365, allocations: 176.7 kB / 1.305 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.938e-05/1.365, allocations: 48.86 kB / 1.305 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.365, allocations: 322.5 kB / 1.305 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/1.365, allocations: 229.8 kB / 1.306 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/1.366, allocations: 323.3 kB / 1.306 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006876/1.366, allocations: 0.5724 MB / 1.307 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.366, allocations: 0 / 1.307 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001024/1.367, allocations: 0.8156 MB / 1.307 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.367, allocations: 5.688 kB / 1.307 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.367, allocations: 3 kB / 1.307 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/1.367, allocations: 6.969 kB / 1.307 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/1.368, allocations: 108.9 kB / 1.307 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/1.368, allocations: 8.109 kB / 1.307 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000889/1.369, allocations: 153.2 kB / 1.308 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/1.369, allocations: 26.17 kB / 1.308 GB, free: 7.094 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.0006099/1.369, allocations: 0.5456 MB / 1.308 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002848/1.37, allocations: 233.6 kB / 1.308 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/1.371, allocations: 0.8151 MB / 1.309 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/1.371, allocations: 6.094 kB / 1.309 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.371, allocations: 5.906 kB / 1.309 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/1.371, allocations: 3 kB / 1.309 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/1.373, allocations: 2.091 MB / 1.311 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.373, allocations: 2.281 kB / 1.311 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/1.373, allocations: 98.83 kB / 1.311 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/1.373, allocations: 3.344 kB / 1.311 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/1.374, allocations: 18.75 kB / 1.311 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/1.374, allocations: 3.531 kB / 1.311 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/1.374, allocations: 5.906 kB / 1.311 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/1.375, allocations: 1.291 MB / 1.313 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000493/1.375, allocations: 424.1 kB / 1.313 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/1.376, allocations: 12.47 kB / 1.313 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007672/1.376, allocations: 88.34 kB / 1.313 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.959e-05/1.376, allocations: 38.05 kB / 1.313 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/1.377, allocations: 22.34 kB / 1.313 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002886/1.379, allocations: 3.505 MB / 1.317 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.379, allocations: 0 / 1.317 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000908/1.38, allocations: 477.4 kB / 1.317 GB, free: 5.375 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.002657/1.383, allocations: 2.27 MB / 1.319 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006993/1.384, allocations: 0.5422 MB / 1.32 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.384, allocations: 0 / 1.32 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003417/1.384, allocations: 296.5 kB / 1.32 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003811/1.388, allocations: 0.8277 MB / 1.321 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02288/1.411, allocations: 22.06 MB / 1.342 GB, free: 12.42 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.412, allocations: 1.634 MB / 1.344 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00125/1.413, allocations: 474.8 kB / 1.344 GB, free: 11.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000802/1.414, allocations: 0.9377 MB / 1.345 GB, free: 11.08 MB / 1.014 GB Notification: Performance of SimCode: time 6.61e-07/1.414, allocations: 0 / 1.345 GB, free: 11.08 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08513/1.499, allocations: 46.37 MB / 1.391 GB, free: 13.45 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/1.499, allocations: 252.2 kB / 1.391 GB, free: 13.19 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.624/4.123, allocations: 0 / 1.391 GB, free: 13.19 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