Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_11_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.001486/0.001486, 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.00139/0.00139, allocations: 196.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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.549/2.549, allocations: 469.8 MB / 0.7424 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 75.34 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2385, allocations: 159.1 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1827/0.4212, allocations: 181.8 MB / 1.242 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00545/0.4267, allocations: 4.456 MB / 1.246 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.427, allocations: 19.88 kB / 1.246 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005213/0.4275, allocations: 242.1 kB / 1.246 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.4289, allocations: 0.758 MB / 1.247 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.4316, allocations: 1.503 MB / 1.248 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.4259/0.8575, allocations: 1.253 MB / 1.25 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007952/0.8583, allocations: 444.8 kB / 1.25 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.8594, allocations: 0.573 MB / 1.251 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006222/0.8601, allocations: 413.7 kB / 1.251 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.8602, allocations: 46.69 kB / 1.251 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.8626, allocations: 1.542 MB / 1.253 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.8628, allocations: 188.7 kB / 1.253 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.8631, allocations: 301.7 kB / 1.253 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.8645, allocations: 1.288 MB / 1.254 GB, free: 6 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.8646, allocations: 1.938 kB / 1.254 GB, free: 6 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8646, allocations: 0 / 1.254 GB, free: 6 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.8646, allocations: 0 / 1.254 GB, free: 6 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001576/0.8662, allocations: 1.026 MB / 1.255 GB, free: 21.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.8662, allocations: 9.375 kB / 1.255 GB, free: 21.36 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.035e-05/0.8663, allocations: 77.11 kB / 1.255 GB, free: 21.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.868, allocations: 286.7 kB / 1.256 GB, free: 21.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005523/0.8686, allocations: 443.2 kB / 1.256 GB, free: 21.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.8686, allocations: 35.12 kB / 1.256 GB, free: 21.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.466e-05/0.8687, allocations: 40.91 kB / 1.256 GB, free: 21.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007664/0.8695, allocations: 0.5464 MB / 1.257 GB, free: 20.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.8695, allocations: 4.031 kB / 1.257 GB, free: 20.93 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.8695, allocations: 23.45 kB / 1.257 GB, free: 20.93 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.8695, allocations: 12.62 kB / 1.257 GB, free: 20.93 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008615/0.8704, allocations: 450.9 kB / 1.257 GB, free: 20.93 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.002162/0.8726, allocations: 2.132 MB / 1.259 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008332/0.8734, allocations: 412.5 kB / 1.26 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004223/0.8739, allocations: 229.2 kB / 1.26 GB, free: 19.65 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006339/0.8745, allocations: 397.7 kB / 1.26 GB, free: 19.27 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005293/0.875, allocations: 290.9 kB / 1.26 GB, free: 19.22 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 1.563e-06/0.875, allocations: 0 / 1.26 GB, free: 19.22 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.001533/0.8766, allocations: 0.686 MB / 1.261 GB, free: 19.16 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.8766, allocations: 63.2 kB / 1.261 GB, free: 19.09 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.8771, allocations: 496.3 kB / 1.262 GB, free: 18.97 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.8771, allocations: 36.22 kB / 1.262 GB, free: 18.94 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.8773, allocations: 267 kB / 1.262 GB, free: 18.81 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.943e-05/0.8774, allocations: 120 kB / 1.262 GB, free: 18.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.8775, allocations: 94.72 kB / 1.262 GB, free: 18.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.8777, allocations: 367.5 kB / 1.263 GB, free: 18.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/0.8781, allocations: 198.7 kB / 1.263 GB, free: 18.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000472/0.8786, allocations: 319.1 kB / 1.263 GB, free: 18.29 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008628/0.8794, allocations: 0.5429 MB / 1.264 GB, free: 18.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8795, allocations: 0.9688 kB / 1.264 GB, free: 18.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001097/0.8806, allocations: 0.6499 MB / 1.264 GB, free: 17.99 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.8806, allocations: 63.89 kB / 1.264 GB, free: 17.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.8806, allocations: 2.625 kB / 1.264 GB, free: 17.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.8806, allocations: 5.25 kB / 1.264 GB, free: 17.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.8811, allocations: 98.77 kB / 1.264 GB, free: 17.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.8811, allocations: 10.09 kB / 1.264 GB, free: 17.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004486/0.8815, allocations: 74.94 kB / 1.264 GB, free: 17.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.8816, allocations: 21.05 kB / 1.264 GB, free: 17.9 MB / 1.014 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.0002039/0.8818, allocations: 199.8 kB / 1.265 GB, free: 17.78 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.8819, allocations: 54.38 kB / 1.265 GB, free: 17.75 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.883, allocations: 0.5334 MB / 1.265 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.883, allocations: 5.375 kB / 1.265 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.883, allocations: 1.484 kB / 1.265 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.883, allocations: 1.547 kB / 1.265 GB, free: 17.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.8851, allocations: 1.349 MB / 1.267 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.8852, allocations: 7.828 kB / 1.267 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.8855, allocations: 76.89 kB / 1.267 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.8855, allocations: 6 kB / 1.267 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.8856, allocations: 15.86 kB / 1.267 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.8856, allocations: 7.922 kB / 1.267 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.8856, allocations: 8.438 kB / 1.267 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.8872, allocations: 0.9337 MB / 1.268 GB, free: 16.98 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.8874, allocations: 170 kB / 1.268 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.02e-05/0.8875, allocations: 16.17 kB / 1.268 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/0.8879, allocations: 34.31 kB / 1.268 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.888, allocations: 51.64 kB / 1.268 GB, free: 16.85 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.8881, allocations: 22.27 kB / 1.268 GB, free: 16.85 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003958/0.8885, allocations: 345.4 kB / 1.268 GB, free: 16.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8885, allocations: 0 / 1.268 GB, free: 16.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004992/0.889, allocations: 149.6 kB / 1.268 GB, free: 16.76 MB / 1.014 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.002076/0.8911, allocations: 1.583 MB / 1.27 GB, free: 15.94 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.8922, allocations: 0.5979 MB / 1.27 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8922, allocations: 1.094 kB / 1.27 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000598/0.8928, allocations: 289.9 kB / 1.271 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.8941, allocations: 283.7 kB / 1.271 GB, free: 15.78 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006692/0.9008, allocations: 5.098 MB / 1.276 GB, free: 13.64 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.9012, allocations: 0.868 MB / 1.277 GB, free: 12.93 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004648/0.9017, allocations: 132.7 kB / 1.277 GB, free: 12.92 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.9019, allocations: 177.4 kB / 1.277 GB, free: 12.91 MB / 1.014 GB Notification: Performance of SimCode: time 2.1e-07/0.9019, allocations: 0 / 1.277 GB, free: 12.91 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.472/3.374, allocations: 15.72 MB / 1.292 GB, free: 11.79 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/15.67, allocations: 16.38 kB / 1.292 GB, free: 11.78 MB / 1.014 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches