Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.TemperatureWetBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",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.005655/0.005655, allocations: 102.3 kB / 15.73 MB, free: 6.016 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.001337/0.001337, allocations: 188.1 kB / 16.67 MB, free: 5.949 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.745/2.745, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 64.12 kB / 1.054 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.297, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.8472/1.144, allocations: 161.5 MB / 1.365 GB, free: 5.324 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005893/1.15, allocations: 3.498 MB / 1.368 GB, free: 2.852 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003971/1.151, allocations: 10.78 kB / 1.368 GB, free: 2.848 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004488/1.151, allocations: 136.6 kB / 1.369 GB, free: 2.754 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001256/1.152, allocations: 457.4 kB / 1.369 GB, free: 2.512 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001797/1.154, allocations: 0.5955 MB / 1.37 GB, free: 2.215 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009328/1.155, allocations: 0.6257 MB / 1.37 GB, free: 1.934 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004107/1.156, allocations: 226 kB / 1.37 GB, free: 1.848 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/1.157, allocations: 352.7 kB / 1.371 GB, free: 1.711 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/1.157, allocations: 188.9 kB / 1.371 GB, free: 1.633 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/1.157, allocations: 26.62 kB / 1.371 GB, free: 1.629 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/1.159, allocations: 0.5498 MB / 1.371 GB, free: 1.418 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001371/1.159, allocations: 100.7 kB / 1.372 GB, free: 1.371 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/1.159, allocations: 141.2 kB / 1.372 GB, free: 1.289 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009319/1.16, allocations: 0.5508 MB / 1.372 GB, free: 1.098 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.16, allocations: 0 / 1.372 GB, free: 1.098 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.262e-06/1.16, allocations: 3.938 kB / 1.372 GB, free: 1.094 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.965e-06/1.16, allocations: 1.5 kB / 1.372 GB, free: 1.094 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001146/1.161, allocations: 0.6328 MB / 1.373 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/1.161, allocations: 10.56 kB / 1.373 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.148e-05/1.161, allocations: 55.05 kB / 1.373 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005486/1.162, allocations: 77.59 kB / 1.373 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/1.162, allocations: 312 kB / 1.373 GB, free: 244 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/1.162, allocations: 12.66 kB / 1.373 GB, free: 240 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/1.162, allocations: 21.12 kB / 1.373 GB, free: 232 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006595/1.163, allocations: 317.5 kB / 1.374 GB, free: 76 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/1.163, allocations: 3.938 kB / 1.374 GB, free: 72 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/1.163, allocations: 6.188 kB / 1.374 GB, free: 68 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/1.163, allocations: 8.906 kB / 1.374 GB, free: 64 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006445/1.164, allocations: 254.1 kB / 1.374 GB, free: 15.99 MB / 1.076 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.001839/1.165, allocations: 1.237 MB / 1.375 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/1.166, allocations: 179.3 kB / 1.375 GB, free: 14.88 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/1.166, allocations: 123.2 kB / 1.375 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006275/1.167, allocations: 307.8 kB / 1.376 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/1.167, allocations: 32.47 kB / 1.376 GB, free: 14.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 2.124e-06/1.167, allocations: 0 / 1.376 GB, free: 14.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.002328/1.169, allocations: 0.5742 MB / 1.376 GB, free: 14.11 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/1.169, allocations: 56.56 kB / 1.376 GB, free: 14.04 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/1.17, allocations: 256.8 kB / 1.377 GB, free: 13.86 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/1.17, allocations: 30.95 kB / 1.377 GB, free: 13.83 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/1.17, allocations: 174.1 kB / 1.377 GB, free: 13.67 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.109e-05/1.17, allocations: 45.84 kB / 1.377 GB, free: 13.63 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-05/1.17, allocations: 39.11 kB / 1.377 GB, free: 13.6 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000244/1.17, allocations: 328.7 kB / 1.377 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/1.171, allocations: 101.7 kB / 1.377 GB, free: 13.22 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/1.171, allocations: 139.2 kB / 1.377 GB, free: 13.13 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005955/1.172, allocations: 239 kB / 1.378 GB, free: 12.99 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.172, allocations: 0 / 1.378 GB, free: 12.99 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00124/1.173, allocations: 354.1 kB / 1.378 GB, free: 12.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/1.173, allocations: 4.75 kB / 1.378 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/1.173, allocations: 1.531 kB / 1.378 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/1.173, allocations: 87.36 kB / 1.378 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/1.174, allocations: 44.98 kB / 1.378 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002504/1.176, allocations: 1.723 MB / 1.38 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003188/1.177, allocations: 29.36 kB / 1.38 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/1.177, allocations: 13.45 kB / 1.38 GB, free: 11.07 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002552/1.177, allocations: 146.4 kB / 1.38 GB, free: 10.93 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.686e-05/1.177, allocations: 31.34 kB / 1.38 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/1.178, allocations: 366.6 kB / 1.38 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.178, allocations: 3.125 kB / 1.38 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/1.178, allocations: 0 / 1.38 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.178, allocations: 7.984 kB / 1.38 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/1.18, allocations: 0.7652 MB / 1.381 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/1.18, allocations: 5.047 kB / 1.381 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/1.18, allocations: 37.94 kB / 1.381 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004455/1.181, allocations: 80.25 kB / 1.381 GB, free: 10.03 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/1.181, allocations: 5.031 kB / 1.381 GB, free: 10.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/1.183, allocations: 1.744 MB / 1.383 GB, free: 8.363 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/1.183, allocations: 2.25 kB / 1.383 GB, free: 8.363 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/1.184, allocations: 457.5 kB / 1.383 GB, free: 8.043 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/1.185, allocations: 120.1 kB / 1.383 GB, free: 7.922 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/1.185, allocations: 6.172 kB / 1.383 GB, free: 7.918 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/1.185, allocations: 28 kB / 1.383 GB, free: 7.902 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/1.185, allocations: 23.66 kB / 1.384 GB, free: 7.887 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/1.185, allocations: 9.375 kB / 1.384 GB, free: 7.883 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002536/1.185, allocations: 193 kB / 1.384 GB, free: 7.754 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.185, allocations: 0 / 1.384 GB, free: 7.754 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006077/1.186, allocations: 86 kB / 1.384 GB, free: 7.734 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001941/1.188, allocations: 1.036 MB / 1.385 GB, free: 6.867 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001105/1.189, allocations: 358 kB / 1.385 GB, free: 6.645 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.189, allocations: 0 / 1.385 GB, free: 6.645 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006403/1.19, allocations: 257.9 kB / 1.385 GB, free: 6.461 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008041/1.19, allocations: 126.8 kB / 1.386 GB, free: 6.398 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005312/1.196, allocations: 2.823 MB / 1.388 GB, free: 4.285 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/1.196, allocations: 0.7721 MB / 1.389 GB, free: 3.547 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002652/1.197, allocations: 59.2 kB / 1.389 GB, free: 3.52 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/1.197, allocations: 73.2 kB / 1.389 GB, free: 3.465 MB / 1.076 GB Notification: Performance of SimCode: time 1.062e-06/1.197, allocations: 3.938 kB / 1.389 GB, free: 3.461 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/1.231, allocations: 8.843 MB / 1.398 GB, free: 15 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/13.04, allocations: 11.5 kB / 1.398 GB, free: 14.99 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches