Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.TemperatureWetBulb,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_11_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.004876/0.004876, allocations: 102 kB / 15.73 MB, free: 6.062 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.001343/0.001343, allocations: 192 kB / 16.67 MB, free: 5.973 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.381/2.381, allocations: 469.8 MB / 0.7425 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 59.91 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5932/0.5948, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1565/0.7514, allocations: 161.5 MB / 1.378 GB, free: 15.92 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.004066/0.7555, allocations: 3.5 MB / 1.381 GB, free: 12.41 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.7556, allocations: 11.94 kB / 1.381 GB, free: 12.4 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.756, allocations: 127 kB / 1.381 GB, free: 12.28 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0008535/0.7568, allocations: 453.9 kB / 1.382 GB, free: 11.83 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.758, allocations: 0.5992 MB / 1.382 GB, free: 11.23 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0006112/0.7586, allocations: 0.6244 MB / 1.383 GB, free: 10.61 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.7589, allocations: 224.6 kB / 1.383 GB, free: 10.39 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.76, allocations: 346.8 kB / 1.384 GB, free: 10.06 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.7603, allocations: 199.1 kB / 1.384 GB, free: 9.863 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.7603, allocations: 20 kB / 1.384 GB, free: 9.844 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007997/0.7611, allocations: 0.5417 MB / 1.384 GB, free: 9.301 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.7612, allocations: 99.7 kB / 1.384 GB, free: 9.203 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.7614, allocations: 151.2 kB / 1.385 GB, free: 9.055 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0007039/0.7621, allocations: 0.5527 MB / 1.385 GB, free: 8.504 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.7621, allocations: 4 kB / 1.385 GB, free: 8.5 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.031e-06/0.7621, allocations: 0 / 1.385 GB, free: 8.5 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.7621, allocations: 0 / 1.385 GB, free: 8.5 MB / 1.107 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.0009521/0.7631, allocations: 0.6461 MB / 1.386 GB, free: 7.805 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 2.734e-05/0.7631, allocations: 8.031 kB / 1.386 GB, free: 7.797 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.563e-05/0.7632, allocations: 58.55 kB / 1.386 GB, free: 7.73 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004352/0.7636, allocations: 79.64 kB / 1.386 GB, free: 7.652 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.764, allocations: 309.5 kB / 1.386 GB, free: 7.312 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.764, allocations: 16.44 kB / 1.386 GB, free: 7.297 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.7641, allocations: 24 kB / 1.386 GB, free: 7.273 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.7646, allocations: 308.1 kB / 1.387 GB, free: 6.949 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.7647, allocations: 4 kB / 1.387 GB, free: 6.945 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.7647, allocations: 12 kB / 1.387 GB, free: 6.934 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.7647, allocations: 7.938 kB / 1.387 GB, free: 6.926 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006286/0.7653, allocations: 244.9 kB / 1.387 GB, free: 6.688 MB / 1.107 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.001451/0.7668, allocations: 1.245 MB / 1.388 GB, free: 5.328 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.7672, allocations: 170.5 kB / 1.388 GB, free: 5.152 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.7675, allocations: 132.7 kB / 1.388 GB, free: 5.02 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005222/0.7681, allocations: 303.2 kB / 1.389 GB, free: 4.668 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.7681, allocations: 30.56 kB / 1.389 GB, free: 4.629 MB / 1.107 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.7681, allocations: 4 kB / 1.389 GB, free: 4.625 MB / 1.107 GB Notification: Performance of matching and sorting (n=14): time 0.002042/0.7701, allocations: 0.581 MB / 1.389 GB, free: 4.016 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.7702, allocations: 55.41 kB / 1.389 GB, free: 3.949 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.7704, allocations: 258.9 kB / 1.389 GB, free: 3.691 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.7705, allocations: 29.7 kB / 1.39 GB, free: 3.656 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.7706, allocations: 168.3 kB / 1.39 GB, free: 3.488 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.7706, allocations: 47.64 kB / 1.39 GB, free: 3.441 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-05/0.7707, allocations: 45.66 kB / 1.39 GB, free: 3.391 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.7708, allocations: 330.8 kB / 1.39 GB, free: 3.059 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.7711, allocations: 91.92 kB / 1.39 GB, free: 2.969 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.7714, allocations: 136.2 kB / 1.39 GB, free: 2.82 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/0.772, allocations: 237.6 kB / 1.391 GB, free: 2.574 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.772, allocations: 0 / 1.391 GB, free: 2.574 MB / 1.107 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001083/0.7731, allocations: 365.2 kB / 1.391 GB, free: 2.211 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.7731, allocations: 6.188 kB / 1.391 GB, free: 2.207 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.7732, allocations: 8.125 kB / 1.391 GB, free: 2.199 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000535/0.7737, allocations: 88.7 kB / 1.391 GB, free: 2.109 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.7739, allocations: 43.95 kB / 1.391 GB, free: 2.066 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.7759, allocations: 1.727 MB / 1.393 GB, free: 200 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.7761, allocations: 31.91 kB / 1.393 GB, free: 168 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.7762, allocations: 7.984 kB / 1.393 GB, free: 160 kB / 1.107 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.0001298/0.7763, allocations: 147 kB / 1.393 GB, free: 8 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/0.7764, allocations: 27.86 kB / 1.393 GB, free: 15.98 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.7775, allocations: 371 kB / 1.393 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7775, allocations: 0 / 1.393 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.7775, allocations: 3.984 kB / 1.393 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.7775, allocations: 0 / 1.393 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.7791, allocations: 0.7786 MB / 1.394 GB, free: 14.76 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.7791, allocations: 0 / 1.394 GB, free: 14.76 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.7793, allocations: 35.91 kB / 1.394 GB, free: 14.73 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004159/0.7797, allocations: 88.81 kB / 1.394 GB, free: 14.64 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.7797, allocations: 7.938 kB / 1.394 GB, free: 14.63 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.7816, allocations: 1.748 MB / 1.396 GB, free: 12.73 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7816, allocations: 0 / 1.396 GB, free: 12.73 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.7826, allocations: 450.5 kB / 1.396 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.7828, allocations: 124.9 kB / 1.396 GB, free: 12.12 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.7828, allocations: 11.94 kB / 1.396 GB, free: 12.11 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.7831, allocations: 19.97 kB / 1.396 GB, free: 12.09 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/0.7831, allocations: 19.92 kB / 1.396 GB, free: 12.07 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.7832, allocations: 12 kB / 1.396 GB, free: 12.06 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00016/0.7833, allocations: 185.9 kB / 1.397 GB, free: 11.88 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7833, allocations: 4 kB / 1.397 GB, free: 11.88 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003306/0.7837, allocations: 75.89 kB / 1.397 GB, free: 11.8 MB / 1.123 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.001551/0.7852, allocations: 1.043 MB / 1.398 GB, free: 10.72 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009093/0.7862, allocations: 370.5 kB / 1.398 GB, free: 10.35 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.7862, allocations: 8.25 kB / 1.398 GB, free: 10.34 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005686/0.7867, allocations: 250.5 kB / 1.398 GB, free: 10.08 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006385/0.7874, allocations: 129.7 kB / 1.398 GB, free: 9.961 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.7917, allocations: 2.82 MB / 1.401 GB, free: 7.012 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.7921, allocations: 0.7714 MB / 1.402 GB, free: 6.215 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000161/0.7923, allocations: 62.25 kB / 1.402 GB, free: 6.156 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.7924, allocations: 75.42 kB / 1.402 GB, free: 6.082 MB / 1.123 GB Notification: Performance of SimCode: time 2.61e-07/0.7924, allocations: 0 / 1.402 GB, free: 6.082 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.804/2.596, allocations: 8.685 MB / 1.411 GB, free: 13.6 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.5/20.1, allocations: 6.109 kB / 1.411 GB, free: 13.6 MB / 1.139 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches