Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_9_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.004401/0.004401, allocations: 101.4 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.001065/0.001065, allocations: 196.4 kB / 16.68 MB, free: 5.977 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.142/2.142, allocations: 390.3 MB / 0.6648 GB, free: 116 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 64.81 kB / 0.9504 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2675, allocations: 140.4 MB / 1.087 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1524/0.4199, allocations: 161.5 MB / 1.245 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004027/0.424, allocations: 3.505 MB / 1.249 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.4242, allocations: 7.938 kB / 1.249 GB, free: 12.29 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.4245, allocations: 139 kB / 1.249 GB, free: 12.15 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0009146/0.4255, allocations: 445.9 kB / 1.249 GB, free: 11.71 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.4267, allocations: 0.5996 MB / 1.25 GB, free: 11.12 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005534/0.4273, allocations: 0.6283 MB / 1.25 GB, free: 10.49 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.4276, allocations: 229.2 kB / 1.251 GB, free: 10.27 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009813/0.4286, allocations: 330.5 kB / 1.251 GB, free: 9.953 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.4288, allocations: 195.1 kB / 1.251 GB, free: 9.762 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.4288, allocations: 20 kB / 1.251 GB, free: 9.742 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007484/0.4296, allocations: 0.5535 MB / 1.252 GB, free: 9.188 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.4297, allocations: 99.66 kB / 1.252 GB, free: 9.09 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.4299, allocations: 147.2 kB / 1.252 GB, free: 8.945 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006368/0.4305, allocations: 0.5456 MB / 1.252 GB, free: 8.398 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.4305, allocations: 0 / 1.252 GB, free: 8.398 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4305, allocations: 4 kB / 1.252 GB, free: 8.395 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.4305, allocations: 3.938 kB / 1.252 GB, free: 8.391 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.0009357/0.4315, allocations: 0.6327 MB / 1.253 GB, free: 7.711 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.4315, allocations: 12.03 kB / 1.253 GB, free: 7.699 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.419e-05/0.4316, allocations: 54.55 kB / 1.253 GB, free: 7.637 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004642/0.432, allocations: 79.52 kB / 1.253 GB, free: 7.559 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.4324, allocations: 305.3 kB / 1.253 GB, free: 7.223 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.4324, allocations: 16.44 kB / 1.254 GB, free: 7.207 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.4325, allocations: 16 kB / 1.254 GB, free: 7.191 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005809/0.4331, allocations: 316.2 kB / 1.254 GB, free: 6.859 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4331, allocations: 3.984 kB / 1.254 GB, free: 6.855 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.4331, allocations: 4 kB / 1.254 GB, free: 6.852 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.4331, allocations: 15.88 kB / 1.254 GB, free: 6.836 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000633/0.4338, allocations: 252.6 kB / 1.254 GB, free: 6.59 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.001427/0.4352, allocations: 1.24 MB / 1.255 GB, free: 5.238 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.4356, allocations: 190.4 kB / 1.255 GB, free: 5.043 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/0.4359, allocations: 116.8 kB / 1.256 GB, free: 4.926 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005263/0.4365, allocations: 311.2 kB / 1.256 GB, free: 4.566 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.4365, allocations: 34.56 kB / 1.256 GB, free: 4.523 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.4365, allocations: 0 / 1.256 GB, free: 4.523 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.002082/0.4386, allocations: 0.5731 MB / 1.256 GB, free: 3.922 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.4386, allocations: 55.41 kB / 1.257 GB, free: 3.855 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.4389, allocations: 263 kB / 1.257 GB, free: 3.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.4389, allocations: 25.7 kB / 1.257 GB, free: 3.559 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.403e-05/0.439, allocations: 168.1 kB / 1.257 GB, free: 3.391 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.439, allocations: 47.3 kB / 1.257 GB, free: 3.344 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.685e-05/0.4391, allocations: 33.72 kB / 1.257 GB, free: 3.305 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.4392, allocations: 338.8 kB / 1.257 GB, free: 2.965 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.4395, allocations: 95.91 kB / 1.257 GB, free: 2.871 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.4398, allocations: 132.2 kB / 1.258 GB, free: 2.727 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005628/0.4404, allocations: 238.7 kB / 1.258 GB, free: 2.48 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4404, allocations: 0 / 1.258 GB, free: 2.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001089/0.4415, allocations: 349.8 kB / 1.258 GB, free: 2.129 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.4415, allocations: 11.94 kB / 1.258 GB, free: 2.117 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.4415, allocations: 0 / 1.258 GB, free: 2.117 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005557/0.4421, allocations: 92.88 kB / 1.258 GB, free: 2.023 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.4423, allocations: 35.97 kB / 1.258 GB, free: 1.988 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0556/0.4979, allocations: 1.723 MB / 1.26 GB, free: 120 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.4984, allocations: 39.81 kB / 1.26 GB, free: 80 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.4984, allocations: 8 kB / 1.26 GB, free: 72 kB / 1.014 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.426/0.9245, allocations: 139.4 kB / 1.26 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.803e-05/0.9246, allocations: 23.25 kB / 1.26 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.9258, allocations: 368.6 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.9259, allocations: 5.125 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.9259, allocations: 0.9375 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.9259, allocations: 2.766 kB / 1.261 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.9275, allocations: 0.7693 MB / 1.261 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.9275, allocations: 4.656 kB / 1.261 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.9277, allocations: 42.81 kB / 1.261 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004321/0.9281, allocations: 74.42 kB / 1.261 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.9281, allocations: 5.5 kB / 1.261 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.9297, allocations: 1.746 MB / 1.263 GB, free: 174.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.9297, allocations: 1.359 kB / 1.263 GB, free: 174.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.9308, allocations: 449.8 kB / 1.264 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.9309, allocations: 123.8 kB / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.931, allocations: 4.375 kB / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.9312, allocations: 29.66 kB / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/0.9313, allocations: 19.69 kB / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.9313, allocations: 7.266 kB / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001598/0.9315, allocations: 186.4 kB / 1.264 GB, free: 173.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9315, allocations: 3.344 kB / 1.264 GB, free: 173.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004078/0.9319, allocations: 86.39 kB / 1.264 GB, free: 173.9 MB / 1.014 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.001464/0.9334, allocations: 1.049 MB / 1.265 GB, free: 173.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009617/0.9344, allocations: 368 kB / 1.265 GB, free: 173.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9344, allocations: 0 / 1.265 GB, free: 173.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005609/0.9349, allocations: 257.6 kB / 1.266 GB, free: 173 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006931/0.9356, allocations: 122.6 kB / 1.266 GB, free: 173 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/0.9399, allocations: 2.814 MB / 1.268 GB, free: 171.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.9401, allocations: 0.7735 MB / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001856/0.9403, allocations: 55.69 kB / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.9404, allocations: 79.08 kB / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/0.9404, allocations: 0 / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.679/2.62, allocations: 8.681 MB / 1.278 GB, free: 169.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.92/18.54, allocations: 7.25 kB / 1.278 GB, free: 169.8 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches