Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_latest_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.001858/0.001858, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001948/0.001948, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.281/1.281, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.635/2.635, allocations: 461.9 MB / 0.7342 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 64.56 kB / 0.8985 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3084, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1878/0.4962, allocations: 179.5 MB / 1.228 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005638/0.5019, allocations: 4.477 MB / 1.232 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005077/0.5024, allocations: 19.88 kB / 1.232 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006486/0.5031, allocations: 194.8 kB / 1.232 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.5048, allocations: 0.7078 MB / 1.233 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003326/0.5081, allocations: 1.407 MB / 1.234 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00171/0.5098, allocations: 1.683 MB / 1.236 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005706/0.5104, allocations: 394.1 kB / 1.236 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009611/0.5114, allocations: 0.5213 MB / 1.237 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004821/0.5119, allocations: 422.3 kB / 1.237 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.685e-05/0.512, allocations: 28 kB / 1.237 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002985/0.515, allocations: 1.808 MB / 1.239 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.5152, allocations: 175.4 kB / 1.239 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.5155, allocations: 290.5 kB / 1.239 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.5175, allocations: 1.379 MB / 1.241 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.5175, allocations: 4 kB / 1.241 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5175, allocations: 4 kB / 1.241 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.5175, allocations: 0 / 1.241 GB, free: 6.512 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.002172/0.5197, allocations: 1.017 MB / 1.242 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.5198, allocations: 15.97 kB / 1.242 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.709e-05/0.5199, allocations: 78.53 kB / 1.242 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/0.522, allocations: 290.9 kB / 1.242 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007364/0.5227, allocations: 449.3 kB / 1.243 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.5228, allocations: 33 kB / 1.243 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.909e-05/0.5228, allocations: 40 kB / 1.243 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.5239, allocations: 0.5507 MB / 1.243 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.5239, allocations: 0 / 1.243 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.5239, allocations: 19.94 kB / 1.243 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.524, allocations: 12 kB / 1.243 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.525, allocations: 459.5 kB / 1.244 GB, free: 3.426 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.002532/0.5275, allocations: 2.112 MB / 1.246 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009703/0.5285, allocations: 414.4 kB / 1.246 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.529, allocations: 229.3 kB / 1.246 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006883/0.5297, allocations: 396.3 kB / 1.247 GB, free: 80 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4592/0.9889, allocations: 293.4 kB / 1.247 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 3.787e-06/0.989, allocations: 0 / 1.247 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.001968/0.9909, allocations: 0.6813 MB / 1.248 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.991, allocations: 62.03 kB / 1.248 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006169/0.9916, allocations: 493.6 kB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/0.9917, allocations: 36.59 kB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.9918, allocations: 259.8 kB / 1.248 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.877e-05/0.9919, allocations: 131.3 kB / 1.249 GB, free: 196 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.9921, allocations: 86.48 kB / 1.249 GB, free: 196 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.9922, allocations: 367.2 kB / 1.249 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/0.9927, allocations: 195 kB / 1.249 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/0.9932, allocations: 314.9 kB / 1.249 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009895/0.9942, allocations: 0.5412 MB / 1.25 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.9942, allocations: 8.594 kB / 1.25 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00124/0.9955, allocations: 0.6465 MB / 1.251 GB, free: 195.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/0.9955, allocations: 60.78 kB / 1.251 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.9956, allocations: 3.562 kB / 1.251 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.9956, allocations: 8.375 kB / 1.251 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/0.996, allocations: 98.23 kB / 1.251 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.9961, allocations: 5.844 kB / 1.251 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/0.9966, allocations: 95.61 kB / 1.251 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.9967, allocations: 20.03 kB / 1.251 GB, free: 195.2 MB / 0.9981 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.0001884/0.9969, allocations: 190.1 kB / 1.251 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.457e-05/0.9969, allocations: 55.19 kB / 1.251 GB, free: 195 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.998, allocations: 0.5347 MB / 1.252 GB, free: 195 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.998, allocations: 4.766 kB / 1.252 GB, free: 195 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.9981, allocations: 2.812 kB / 1.252 GB, free: 195 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.9981, allocations: 3.188 kB / 1.252 GB, free: 195 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/1, allocations: 1.355 MB / 1.253 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1, allocations: 5.188 kB / 1.253 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/1, allocations: 74.91 kB / 1.253 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1, allocations: 5.688 kB / 1.253 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/1, allocations: 13.52 kB / 1.253 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/1, allocations: 5.562 kB / 1.253 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1, allocations: 8.031 kB / 1.253 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/1.002, allocations: 0.9378 MB / 1.254 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/1.002, allocations: 170.2 kB / 1.254 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-05/1.002, allocations: 14.66 kB / 1.254 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/1.003, allocations: 43.33 kB / 1.254 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/1.003, allocations: 50.42 kB / 1.254 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/1.003, allocations: 16.48 kB / 1.254 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004571/1.004, allocations: 343.5 kB / 1.255 GB, free: 194 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.004, allocations: 2.812 kB / 1.255 GB, free: 194 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005982/1.004, allocations: 156.1 kB / 1.255 GB, free: 194 MB / 0.9981 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.002469/1.007, allocations: 1.571 MB / 1.256 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001171/1.008, allocations: 0.5827 MB / 1.257 GB, free: 193 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.008, allocations: 0 / 1.257 GB, free: 193 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006407/1.008, allocations: 293.6 kB / 1.257 GB, free: 193 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/1.01, allocations: 272.7 kB / 1.257 GB, free: 193 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006967/1.017, allocations: 5.241 MB / 1.263 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/1.017, allocations: 0.8747 MB / 1.263 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006023/1.018, allocations: 128.7 kB / 1.264 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/1.018, allocations: 173.8 kB / 1.264 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.018, allocations: 0.9844 kB / 1.264 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03562/1.054, allocations: 15.03 MB / 1.278 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/1.054, allocations: 250.4 kB / 1.279 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/3.18, allocations: 0 / 1.279 GB, free: 185.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches