Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",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.001448/0.001448, allocations: 108 kB / 15.61 MB, free: 152 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.001726/0.001726, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.19/2.19, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5728/0.574, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1879/0.7619, allocations: 181.8 MB / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006172/0.7682, allocations: 4.454 MB / 1.132 GB, free: 6.969 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007476/0.7689, allocations: 23.81 kB / 1.132 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008854/0.7699, allocations: 246.1 kB / 1.132 GB, free: 6.703 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002041/0.7719, allocations: 0.758 MB / 1.133 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004179/0.7761, allocations: 1.52 MB / 1.134 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001706/0.7779, allocations: 1.25 MB / 1.135 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008628/0.7787, allocations: 441.3 kB / 1.136 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.7801, allocations: 0.5721 MB / 1.136 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007089/0.7808, allocations: 406.3 kB / 1.137 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.781, allocations: 44 kB / 1.137 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.784, allocations: 1.547 MB / 1.138 GB, free: 176 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00028/0.7843, allocations: 183.6 kB / 1.138 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000504/0.7848, allocations: 310.4 kB / 1.139 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002519/0.7874, allocations: 1.286 MB / 1.14 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.7874, allocations: 4 kB / 1.14 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.226e-06/0.7874, allocations: 7.922 kB / 1.14 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.933e-05/0.7874, allocations: 0 / 1.14 GB, free: 14.39 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.00216/0.7896, allocations: 1.01 MB / 1.141 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.7897, allocations: 16.03 kB / 1.141 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001232/0.7898, allocations: 78.52 kB / 1.141 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002205/0.792, allocations: 286.9 kB / 1.141 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008212/0.7928, allocations: 441.4 kB / 1.142 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.7929, allocations: 33 kB / 1.142 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-05/0.793, allocations: 47.98 kB / 1.142 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.794, allocations: 0.5429 MB / 1.142 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.794, allocations: 3.938 kB / 1.142 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.566e-05/0.7941, allocations: 19.94 kB / 1.142 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.7941, allocations: 12 kB / 1.142 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.7952, allocations: 463.5 kB / 1.143 GB, free: 11.31 MB / 0.9044 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.002697/0.7979, allocations: 2.131 MB / 1.145 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009762/0.7989, allocations: 398.5 kB / 1.145 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.7994, allocations: 229.3 kB / 1.145 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007075/0.8001, allocations: 404.1 kB / 1.146 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006263/0.8008, allocations: 298.7 kB / 1.146 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 2.535e-06/0.8008, allocations: 3.938 kB / 1.146 GB, free: 7.645 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.001839/0.8026, allocations: 0.6798 MB / 1.147 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.8027, allocations: 67.14 kB / 1.147 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005736/0.8033, allocations: 494.1 kB / 1.147 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/0.8033, allocations: 37.7 kB / 1.147 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.8035, allocations: 260.1 kB / 1.148 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.8037, allocations: 122.2 kB / 1.148 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.8038, allocations: 98.02 kB / 1.148 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.804, allocations: 362.8 kB / 1.148 GB, free: 5.496 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.8045, allocations: 196.8 kB / 1.148 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/0.805, allocations: 320 kB / 1.149 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.8061, allocations: 0.545 MB / 1.149 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.8061, allocations: 3.938 kB / 1.149 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001284/0.8074, allocations: 0.6443 MB / 1.15 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.8074, allocations: 59.41 kB / 1.15 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.8075, allocations: 4 kB / 1.15 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.8075, allocations: 8.047 kB / 1.15 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/0.808, allocations: 99.83 kB / 1.15 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.808, allocations: 8.234 kB / 1.15 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005391/0.8085, allocations: 75.48 kB / 1.15 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/0.8086, allocations: 24 kB / 1.15 GB, free: 3.402 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0002162/0.8088, allocations: 194.1 kB / 1.15 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.233e-05/0.8089, allocations: 55.34 kB / 1.15 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.8101, allocations: 0.5306 MB / 1.151 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.8101, allocations: 4 kB / 1.151 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.8101, allocations: 0 / 1.151 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.8101, allocations: 3.984 kB / 1.151 GB, free: 2.598 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.8124, allocations: 1.348 MB / 1.152 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.8124, allocations: 4 kB / 1.152 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.8128, allocations: 80.31 kB / 1.152 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.8128, allocations: 4 kB / 1.152 GB, free: 1.062 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.8129, allocations: 15.94 kB / 1.152 GB, free: 1.047 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.8129, allocations: 4 kB / 1.152 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.8129, allocations: 7.938 kB / 1.152 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.8146, allocations: 0.9498 MB / 1.153 GB, free: 24 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.8148, allocations: 164.3 kB / 1.153 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.8149, allocations: 19.98 kB / 1.153 GB, free: 15.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.8154, allocations: 35.97 kB / 1.153 GB, free: 15.79 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.8155, allocations: 51.81 kB / 1.153 GB, free: 15.74 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.8156, allocations: 20.06 kB / 1.154 GB, free: 15.72 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004007/0.816, allocations: 342.8 kB / 1.154 GB, free: 15.39 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.816, allocations: 0 / 1.154 GB, free: 15.39 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005967/0.8166, allocations: 155.8 kB / 1.154 GB, free: 15.23 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002282/0.8189, allocations: 1.563 MB / 1.156 GB, free: 13.61 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.8201, allocations: 0.5963 MB / 1.156 GB, free: 12.99 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.8201, allocations: 0 / 1.156 GB, free: 12.99 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006559/0.8208, allocations: 284.8 kB / 1.156 GB, free: 12.71 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.8222, allocations: 292.8 kB / 1.157 GB, free: 12.43 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007352/0.8296, allocations: 5.105 MB / 1.162 GB, free: 7.07 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.83, allocations: 0.8626 MB / 1.162 GB, free: 6.18 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005702/0.8306, allocations: 132.7 kB / 1.163 GB, free: 6.047 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.8309, allocations: 175.4 kB / 1.163 GB, free: 5.875 MB / 0.92 GB Notification: Performance of SimCode: time 5.71e-07/0.8309, allocations: 0 / 1.163 GB, free: 5.875 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.104/3.935, allocations: 15.71 MB / 1.178 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/17.53, allocations: 1.562 kB / 1.178 GB, free: 6.426 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches