Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_10_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.008981/0.008981, allocations: 105.3 kB / 15.74 MB, free: 6.441 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: 192.6 kB / 16.67 MB, free: 6.355 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.627/2.627, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 1.018 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3217, allocations: 151.6 MB / 1.166 GB, free: 7.41 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.9806/1.302, allocations: 161.5 MB / 1.324 GB, free: 7.582 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005441/1.308, allocations: 3.483 MB / 1.327 GB, free: 5.32 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005739/1.308, allocations: 14.62 kB / 1.327 GB, free: 5.312 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005504/1.309, allocations: 138.2 kB / 1.327 GB, free: 5.215 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001521/1.31, allocations: 467.6 kB / 1.328 GB, free: 4.973 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/1.313, allocations: 0.6072 MB / 1.328 GB, free: 4.672 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0009556/1.314, allocations: 0.6298 MB / 1.329 GB, free: 4.387 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000436/1.314, allocations: 221.5 kB / 1.329 GB, free: 4.305 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/1.315, allocations: 348.5 kB / 1.33 GB, free: 4.168 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000342/1.316, allocations: 200.8 kB / 1.33 GB, free: 4.078 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.619e-05/1.316, allocations: 22.16 kB / 1.33 GB, free: 4.078 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/1.317, allocations: 0.5555 MB / 1.33 GB, free: 3.863 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001562/1.317, allocations: 93.31 kB / 1.33 GB, free: 3.824 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002072/1.318, allocations: 146.9 kB / 1.331 GB, free: 3.738 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/1.319, allocations: 0.5494 MB / 1.331 GB, free: 3.547 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.319, allocations: 1.094 kB / 1.331 GB, free: 3.547 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.044e-06/1.319, allocations: 0 / 1.331 GB, free: 3.547 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.662e-06/1.319, allocations: 0 / 1.331 GB, free: 3.547 MB / 1.014 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.00118/1.32, allocations: 0.6407 MB / 1.332 GB, free: 3.023 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/1.32, allocations: 9.062 kB / 1.332 GB, free: 3.023 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.624e-05/1.32, allocations: 55.45 kB / 1.332 GB, free: 2.973 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000532/1.321, allocations: 76.3 kB / 1.332 GB, free: 2.949 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/1.321, allocations: 308.2 kB / 1.332 GB, free: 2.688 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/1.321, allocations: 16.91 kB / 1.332 GB, free: 2.676 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/1.321, allocations: 17 kB / 1.332 GB, free: 2.672 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006981/1.322, allocations: 322.4 kB / 1.333 GB, free: 2.52 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/1.322, allocations: 1.156 kB / 1.333 GB, free: 2.52 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/1.322, allocations: 6.594 kB / 1.333 GB, free: 2.516 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/1.322, allocations: 8.625 kB / 1.333 GB, free: 2.512 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006894/1.323, allocations: 251.8 kB / 1.333 GB, free: 2.445 MB / 1.014 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.00174/1.324, allocations: 1.241 MB / 1.334 GB, free: 1.434 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/1.325, allocations: 174.6 kB / 1.334 GB, free: 1.363 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/1.325, allocations: 121.9 kB / 1.334 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006151/1.326, allocations: 312.4 kB / 1.335 GB, free: 1.031 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/1.326, allocations: 32.53 kB / 1.335 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/1.326, allocations: 0 / 1.335 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.002279/1.328, allocations: 0.5734 MB / 1.335 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/1.328, allocations: 56.66 kB / 1.335 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/1.328, allocations: 261.1 kB / 1.335 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/1.328, allocations: 26.98 kB / 1.336 GB, free: 0.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/1.329, allocations: 170 kB / 1.336 GB, free: 364 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/1.329, allocations: 45.61 kB / 1.336 GB, free: 328 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.224e-05/1.329, allocations: 34.06 kB / 1.336 GB, free: 304 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.329, allocations: 334.5 kB / 1.336 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/1.329, allocations: 96.94 kB / 1.336 GB, free: 15.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/1.33, allocations: 136.1 kB / 1.336 GB, free: 15.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005986/1.33, allocations: 241 kB / 1.337 GB, free: 15.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.33, allocations: 4 kB / 1.337 GB, free: 15.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00115/1.331, allocations: 347.8 kB / 1.337 GB, free: 15.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.331, allocations: 7.016 kB / 1.337 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.331, allocations: 1.344 kB / 1.337 GB, free: 15.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/1.332, allocations: 88.66 kB / 1.337 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/1.332, allocations: 46.31 kB / 1.337 GB, free: 15.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/1.335, allocations: 1.736 MB / 1.339 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/1.335, allocations: 31.41 kB / 1.339 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/1.335, allocations: 11.36 kB / 1.339 GB, free: 14.05 MB / 1.029 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.0001781/1.335, allocations: 145 kB / 1.339 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/1.335, allocations: 27.19 kB / 1.339 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/1.336, allocations: 368.8 kB / 1.339 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/1.336, allocations: 2.312 kB / 1.339 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/1.336, allocations: 4 kB / 1.339 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.336, allocations: 2.391 kB / 1.339 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/1.338, allocations: 0.7768 MB / 1.34 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.338, allocations: 1.688 kB / 1.34 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/1.338, allocations: 36.69 kB / 1.34 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004327/1.339, allocations: 75.88 kB / 1.34 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/1.339, allocations: 8.766 kB / 1.34 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/1.341, allocations: 1.741 MB / 1.342 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.341, allocations: 1.625 kB / 1.342 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/1.342, allocations: 458.1 kB / 1.342 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/1.342, allocations: 117.7 kB / 1.342 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/1.342, allocations: 5.016 kB / 1.342 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/1.343, allocations: 27.19 kB / 1.342 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.878e-05/1.343, allocations: 22.17 kB / 1.342 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/1.343, allocations: 4.656 kB / 1.342 GB, free: 11.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002264/1.343, allocations: 189.9 kB / 1.343 GB, free: 11.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.154e-06/1.343, allocations: 0 / 1.343 GB, free: 11.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004965/1.343, allocations: 89.66 kB / 1.343 GB, free: 11.19 MB / 1.029 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.001759/1.345, allocations: 1.043 MB / 1.344 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001012/1.346, allocations: 360.5 kB / 1.344 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.346, allocations: 3.938 kB / 1.344 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005795/1.347, allocations: 268.4 kB / 1.344 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007173/1.348, allocations: 117.4 kB / 1.344 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005013/1.353, allocations: 2.812 MB / 1.347 GB, free: 8.219 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/1.353, allocations: 0.7719 MB / 1.348 GB, free: 7.516 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002168/1.353, allocations: 61 kB / 1.348 GB, free: 7.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/1.353, allocations: 76.17 kB / 1.348 GB, free: 7.445 MB / 1.029 GB Notification: Performance of SimCode: time 6.81e-07/1.353, allocations: 0 / 1.348 GB, free: 7.445 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/1.389, allocations: 8.68 MB / 1.357 GB, free: 4.859 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/13.23, allocations: 7.531 kB / 1.357 GB, free: 4.859 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches