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.001304/0.001304, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.486/2.486, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.89 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6413/0.6428, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1919/0.8347, allocations: 161.5 MB / 1.175 GB, free: 404 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006537/0.8413, allocations: 3.498 MB / 1.179 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004296/0.8418, allocations: 11.94 kB / 1.179 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005097/0.8423, allocations: 131 kB / 1.179 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.8437, allocations: 449.9 kB / 1.179 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.8454, allocations: 0.5968 MB / 1.18 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008374/0.8463, allocations: 0.6283 MB / 1.18 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004564/0.8467, allocations: 232.6 kB / 1.181 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.8481, allocations: 338.1 kB / 1.181 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003905/0.8485, allocations: 195.2 kB / 1.181 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.783e-05/0.8486, allocations: 20 kB / 1.181 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.8497, allocations: 0.5456 MB / 1.182 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.8498, allocations: 99.72 kB / 1.182 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.85, allocations: 147.2 kB / 1.182 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.8511, allocations: 0.5376 MB / 1.182 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8511, allocations: 8 kB / 1.182 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8511, allocations: 0 / 1.182 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.8511, allocations: 0 / 1.182 GB, free: 8.977 MB / 0.9356 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.001206/0.8523, allocations: 0.6272 MB / 1.183 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.8524, allocations: 19.97 kB / 1.183 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.283e-05/0.8525, allocations: 54.55 kB / 1.183 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005536/0.853, allocations: 75.52 kB / 1.183 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.8534, allocations: 285.4 kB / 1.183 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.8535, allocations: 16.44 kB / 1.183 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.8535, allocations: 20 kB / 1.183 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.8542, allocations: 316.1 kB / 1.184 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.8542, allocations: 0 / 1.184 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.8542, allocations: 8 kB / 1.184 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.8542, allocations: 7.938 kB / 1.184 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006717/0.8549, allocations: 252.9 kB / 1.184 GB, free: 7.199 MB / 0.9356 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.001672/0.8566, allocations: 1.252 MB / 1.185 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.8571, allocations: 174.5 kB / 1.185 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004408/0.8575, allocations: 124.8 kB / 1.185 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000666/0.8582, allocations: 307.2 kB / 1.186 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.8583, allocations: 38.55 kB / 1.186 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.8583, allocations: 0 / 1.186 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.002318/0.8606, allocations: 0.573 MB / 1.186 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.8607, allocations: 55.34 kB / 1.186 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.8609, allocations: 267 kB / 1.187 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.861, allocations: 25.7 kB / 1.187 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.8612, allocations: 164.2 kB / 1.187 GB, free: 4 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.8612, allocations: 47.3 kB / 1.187 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.081e-05/0.8613, allocations: 41.61 kB / 1.187 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.8614, allocations: 334.8 kB / 1.187 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003017/0.8617, allocations: 95.91 kB / 1.187 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.8621, allocations: 142.2 kB / 1.187 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006074/0.8627, allocations: 232.1 kB / 1.188 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.8627, allocations: 0 / 1.188 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001187/0.8639, allocations: 357.8 kB / 1.188 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.8639, allocations: 8.125 kB / 1.188 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.8639, allocations: 3.984 kB / 1.188 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006512/0.8646, allocations: 92.75 kB / 1.188 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.8648, allocations: 39.91 kB / 1.188 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.8672, allocations: 1.734 MB / 1.19 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.8675, allocations: 31.81 kB / 1.19 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.8675, allocations: 8.062 kB / 1.19 GB, free: 0.6641 MB / 0.9356 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.0001745/0.8677, allocations: 145.8 kB / 1.19 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8e-05/0.8678, allocations: 23.72 kB / 1.19 GB, free: 500 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.869, allocations: 367.9 kB / 1.19 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.869, allocations: 4 kB / 1.19 GB, free: 116 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.869, allocations: 0 / 1.19 GB, free: 116 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.869, allocations: 8 kB / 1.19 GB, free: 108 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.8708, allocations: 0.7707 MB / 1.191 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.8708, allocations: 0 / 1.191 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.871, allocations: 35.97 kB / 1.191 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00044/0.8714, allocations: 84.8 kB / 1.191 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.8715, allocations: 4.141 kB / 1.191 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.8736, allocations: 1.743 MB / 1.193 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.8736, allocations: 0 / 1.193 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.8748, allocations: 458.2 kB / 1.193 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.875, allocations: 124.8 kB / 1.194 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.875, allocations: 3.938 kB / 1.194 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.8753, allocations: 31.91 kB / 1.194 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.075e-05/0.8754, allocations: 19.97 kB / 1.194 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.8754, allocations: 4 kB / 1.194 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002038/0.8756, allocations: 186 kB / 1.194 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8756, allocations: 0 / 1.194 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004546/0.8761, allocations: 87.84 kB / 1.194 GB, free: 12.31 MB / 0.9512 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.001809/0.8779, allocations: 1.049 MB / 1.195 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.879, allocations: 370.4 kB / 1.195 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.879, allocations: 0 / 1.195 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006257/0.8797, allocations: 262.9 kB / 1.196 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000783/0.8805, allocations: 121 kB / 1.196 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005005/0.8855, allocations: 2.799 MB / 1.198 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.8858, allocations: 0.7752 MB / 1.199 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002491/0.8861, allocations: 62.25 kB / 1.199 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.8862, allocations: 75.41 kB / 1.199 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of SimCode: time 8.52e-07/0.8862, allocations: 0 / 1.199 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04416/0.9304, allocations: 8.574 MB / 1.208 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.98, allocations: 20.05 kB / 1.208 GB, free: 14.21 MB / 0.9669 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