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.008025/0.008026, allocations: 100.5 kB / 15.73 MB, free: 6.031 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.001346/0.001346, allocations: 187.5 kB / 16.67 MB, free: 5.965 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.822/2.822, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 72.09 kB / 1.054 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3136, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.8522/1.166, allocations: 161.5 MB / 1.365 GB, free: 5.266 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005389/1.171, allocations: 3.503 MB / 1.368 GB, free: 2.789 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004409/1.172, allocations: 10.47 kB / 1.368 GB, free: 2.785 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000505/1.172, allocations: 127 kB / 1.369 GB, free: 2.699 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001421/1.174, allocations: 452.6 kB / 1.369 GB, free: 2.461 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001847/1.176, allocations: 0.6026 MB / 1.37 GB, free: 2.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009602/1.177, allocations: 0.6222 MB / 1.37 GB, free: 1.883 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004934/1.177, allocations: 231.5 kB / 1.37 GB, free: 1.793 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001467/1.179, allocations: 348.6 kB / 1.371 GB, free: 1.656 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004022/1.179, allocations: 194.2 kB / 1.371 GB, free: 1.574 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.771e-05/1.179, allocations: 20.78 kB / 1.371 GB, free: 1.574 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/1.18, allocations: 0.5512 MB / 1.371 GB, free: 1.363 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/1.18, allocations: 97.53 kB / 1.372 GB, free: 1.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002476/1.181, allocations: 140.6 kB / 1.372 GB, free: 1.238 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/1.182, allocations: 0.554 MB / 1.372 GB, free: 1.043 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/1.182, allocations: 0 / 1.372 GB, free: 1.043 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/1.182, allocations: 9.156 kB / 1.372 GB, free: 1.035 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.897e-05/1.182, allocations: 4 kB / 1.372 GB, free: 1.031 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.001457/1.183, allocations: 0.6257 MB / 1.373 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/1.183, allocations: 10.78 kB / 1.373 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.58e-05/1.183, allocations: 53.59 kB / 1.373 GB, free: 484 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005888/1.184, allocations: 77.08 kB / 1.373 GB, free: 460 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005341/1.185, allocations: 311.8 kB / 1.373 GB, free: 188 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/1.185, allocations: 13.06 kB / 1.373 GB, free: 184 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/1.185, allocations: 25.34 kB / 1.373 GB, free: 172 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007094/1.185, allocations: 304 kB / 1.374 GB, free: 28 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/1.185, allocations: 5.562 kB / 1.374 GB, free: 24 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/1.185, allocations: 10.5 kB / 1.374 GB, free: 16 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/1.185, allocations: 12.44 kB / 1.374 GB, free: 8 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007289/1.186, allocations: 249.4 kB / 1.374 GB, free: 15.94 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.001916/1.188, allocations: 1.248 MB / 1.375 GB, free: 14.9 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/1.189, allocations: 175.7 kB / 1.375 GB, free: 14.8 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/1.189, allocations: 123.1 kB / 1.375 GB, free: 14.74 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00064/1.19, allocations: 299.2 kB / 1.376 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/1.19, allocations: 39.86 kB / 1.376 GB, free: 14.39 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 1.704e-06/1.19, allocations: 1.438 kB / 1.376 GB, free: 14.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.002376/1.192, allocations: 0.5687 MB / 1.376 GB, free: 14.04 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/1.192, allocations: 56.72 kB / 1.376 GB, free: 13.98 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/1.192, allocations: 260.2 kB / 1.377 GB, free: 13.79 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/1.192, allocations: 31.05 kB / 1.377 GB, free: 13.76 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/1.193, allocations: 161.5 kB / 1.377 GB, free: 13.61 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/1.193, allocations: 46.39 kB / 1.377 GB, free: 13.57 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.447e-05/1.193, allocations: 42.42 kB / 1.377 GB, free: 13.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.193, allocations: 333.4 kB / 1.377 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003152/1.193, allocations: 94.75 kB / 1.377 GB, free: 13.16 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/1.194, allocations: 143.5 kB / 1.377 GB, free: 13.07 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000661/1.194, allocations: 241 kB / 1.378 GB, free: 12.92 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/1.194, allocations: 1.438 kB / 1.378 GB, free: 12.92 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00128/1.196, allocations: 348 kB / 1.378 GB, free: 12.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.196, allocations: 5.656 kB / 1.378 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.196, allocations: 1.312 kB / 1.378 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006239/1.196, allocations: 90.94 kB / 1.378 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/1.196, allocations: 38.34 kB / 1.378 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/1.199, allocations: 1.738 MB / 1.38 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/1.199, allocations: 33.91 kB / 1.38 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/1.199, allocations: 5.125 kB / 1.38 GB, free: 11 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.000187/1.199, allocations: 142.6 kB / 1.38 GB, free: 10.86 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/1.199, allocations: 30.75 kB / 1.38 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/1.201, allocations: 375.7 kB / 1.38 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/1.201, allocations: 0.9375 kB / 1.38 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/1.201, allocations: 1.219 kB / 1.38 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/1.201, allocations: 0 / 1.38 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/1.203, allocations: 0.7773 MB / 1.381 GB, free: 10.01 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.203, allocations: 1.125 kB / 1.381 GB, free: 10.01 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/1.203, allocations: 36.91 kB / 1.381 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/1.203, allocations: 79.55 kB / 1.381 GB, free: 9.957 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/1.203, allocations: 10.06 kB / 1.381 GB, free: 9.949 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/1.205, allocations: 1.733 MB / 1.383 GB, free: 8.301 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.205, allocations: 5.25 kB / 1.383 GB, free: 8.297 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/1.207, allocations: 458.3 kB / 1.383 GB, free: 7.977 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/1.207, allocations: 123.9 kB / 1.383 GB, free: 7.852 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/1.207, allocations: 6.094 kB / 1.383 GB, free: 7.848 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/1.207, allocations: 28.06 kB / 1.384 GB, free: 7.832 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.564e-05/1.207, allocations: 19.69 kB / 1.384 GB, free: 7.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/1.207, allocations: 8.969 kB / 1.384 GB, free: 7.816 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002072/1.208, allocations: 185.5 kB / 1.384 GB, free: 7.695 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.208, allocations: 0 / 1.384 GB, free: 7.695 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005189/1.208, allocations: 81.75 kB / 1.384 GB, free: 7.68 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.001882/1.21, allocations: 1.053 MB / 1.385 GB, free: 6.797 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001069/1.211, allocations: 362.5 kB / 1.385 GB, free: 6.57 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.211, allocations: 1.375 kB / 1.385 GB, free: 6.57 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006245/1.212, allocations: 257.6 kB / 1.385 GB, free: 6.387 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007885/1.213, allocations: 125.8 kB / 1.386 GB, free: 6.324 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005256/1.218, allocations: 2.821 MB / 1.388 GB, free: 4.215 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/1.218, allocations: 0.7719 MB / 1.389 GB, free: 3.477 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002335/1.218, allocations: 51.97 kB / 1.389 GB, free: 3.457 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/1.219, allocations: 84.47 kB / 1.389 GB, free: 3.391 MB / 1.076 GB Notification: Performance of SimCode: time 6.21e-07/1.219, allocations: 0 / 1.389 GB, free: 3.391 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03432/1.253, allocations: 8.831 MB / 1.398 GB, free: 14.93 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/13.18, allocations: 12.28 kB / 1.398 GB, free: 14.93 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