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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001832/0.001832, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.002551/0.002551, allocations: 192.4 kB / 16.25 MB, free: 6.629 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.893/1.893, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.129/4.129, allocations: 461.9 MB / 0.7343 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002621/0.002621, allocations: 71.52 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6573/0.66, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.448/1.108, allocations: 179.4 MB / 1.228 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01287/1.121, allocations: 4.422 MB / 1.232 GB, free: 140 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/1.123, allocations: 19.88 kB / 1.232 GB, free: 120 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001847/1.125, allocations: 210.8 kB / 1.232 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005642/1.13, allocations: 0.7078 MB / 1.233 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01313/1.144, allocations: 1.408 MB / 1.234 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003574/1.147, allocations: 1.27 MB / 1.235 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/1.149, allocations: 433.2 kB / 1.236 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002843/1.156, allocations: 0.576 MB / 1.236 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/1.157, allocations: 430.2 kB / 1.237 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003744/1.157, allocations: 44 kB / 1.237 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006391/1.164, allocations: 1.605 MB / 1.238 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006381/1.165, allocations: 183.5 kB / 1.239 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/1.166, allocations: 306.5 kB / 1.239 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005748/1.171, allocations: 1.398 MB / 1.24 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/1.172, allocations: 0 / 1.24 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.535e-06/1.172, allocations: 4 kB / 1.24 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.357e-05/1.172, allocations: 4 kB / 1.24 GB, free: 7.551 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.009078/1.181, allocations: 1.017 MB / 1.241 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001095/1.181, allocations: 8.625 kB / 1.241 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003131/1.181, allocations: 82.53 kB / 1.241 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007866/1.189, allocations: 290.9 kB / 1.242 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/1.191, allocations: 441.5 kB / 1.242 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/1.191, allocations: 29 kB / 1.242 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000303/1.192, allocations: 48 kB / 1.242 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/1.194, allocations: 0.5546 MB / 1.243 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/1.194, allocations: 0 / 1.243 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.27e-05/1.194, allocations: 23.88 kB / 1.243 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/1.194, allocations: 12 kB / 1.243 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/1.196, allocations: 459.5 kB / 1.243 GB, free: 4.469 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.008005/1.204, allocations: 2.116 MB / 1.245 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/1.206, allocations: 411 kB / 1.246 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008976/1.207, allocations: 233.3 kB / 1.246 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001537/1.209, allocations: 396.3 kB / 1.246 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001352/1.21, allocations: 294.7 kB / 1.246 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 9.708e-06/1.21, allocations: 0 / 1.246 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.003219/1.213, allocations: 0.6861 MB / 1.247 GB, free: 132 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/1.213, allocations: 59.41 kB / 1.247 GB, free: 60 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.427/2.64, allocations: 489.2 kB / 1.248 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002775/2.641, allocations: 35.95 kB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005218/2.641, allocations: 263.6 kB / 1.248 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000282/2.642, allocations: 130.3 kB / 1.248 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003529/2.642, allocations: 84.8 kB / 1.248 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002466/2.642, allocations: 371 kB / 1.249 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008918/2.643, allocations: 193.3 kB / 1.249 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/2.644, allocations: 315.2 kB / 1.249 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/2.646, allocations: 0.5388 MB / 1.25 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/2.646, allocations: 8.438 kB / 1.25 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002521/2.649, allocations: 0.6446 MB / 1.25 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/2.649, allocations: 62.08 kB / 1.25 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/2.649, allocations: 3.156 kB / 1.25 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.825e-05/2.649, allocations: 4.812 kB / 1.25 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007916/2.65, allocations: 99.02 kB / 1.25 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-05/2.65, allocations: 4.656 kB / 1.25 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/2.651, allocations: 90.16 kB / 1.25 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/2.651, allocations: 24.09 kB / 1.25 GB, free: 196.1 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.0004923/2.652, allocations: 192.8 kB / 1.251 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/2.652, allocations: 53.12 kB / 1.251 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/2.655, allocations: 0.537 MB / 1.251 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/2.655, allocations: 3.781 kB / 1.251 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/2.655, allocations: 3.719 kB / 1.251 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/2.655, allocations: 7.594 kB / 1.251 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003708/2.658, allocations: 1.346 MB / 1.253 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/2.659, allocations: 2.719 kB / 1.253 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006613/2.659, allocations: 80.31 kB / 1.253 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.908e-05/2.659, allocations: 5.969 kB / 1.253 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/2.659, allocations: 14.88 kB / 1.253 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.95e-05/2.659, allocations: 10.56 kB / 1.253 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/2.659, allocations: 4.938 kB / 1.253 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/2.662, allocations: 0.9331 MB / 1.254 GB, free: 195.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/2.662, allocations: 173.9 kB / 1.254 GB, free: 195 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/2.662, allocations: 9.125 kB / 1.254 GB, free: 195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007096/2.663, allocations: 48.86 kB / 1.254 GB, free: 195 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/2.663, allocations: 47.62 kB / 1.254 GB, free: 195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-05/2.663, allocations: 12.09 kB / 1.254 GB, free: 195 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006507/2.664, allocations: 345.1 kB / 1.254 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.733e-06/2.664, allocations: 0 / 1.254 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001051/2.665, allocations: 162.6 kB / 1.254 GB, free: 194.9 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.004539/2.67, allocations: 1.573 MB / 1.256 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002705/2.672, allocations: 0.605 MB / 1.256 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/2.672, allocations: 0 / 1.256 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/2.674, allocations: 283.3 kB / 1.257 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/2.676, allocations: 294.5 kB / 1.257 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02233/2.699, allocations: 5.259 MB / 1.262 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007281/2.7, allocations: 0.8615 MB / 1.263 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001171/2.701, allocations: 131.3 kB / 1.263 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005094/2.701, allocations: 178.3 kB / 1.263 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of SimCode: time 2.405e-06/2.701, allocations: 0 / 1.263 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2034/2.905, allocations: 15.47 MB / 1.278 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003159/2.905, allocations: 252.2 kB / 1.279 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/13.87, allocations: 0 / 1.279 GB, free: 186.4 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