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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 104 kB / 16.27 MB, free: 5.98 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.001673/0.001673, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 482.4 MB / 0.7553 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 74.06 kB / 0.9245 GB, free: 20 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8314/0.8334, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2093/1.043, allocations: 161.5 MB / 1.241 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005868/1.049, allocations: 3.498 MB / 1.244 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004341/1.049, allocations: 7.938 kB / 1.244 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000521/1.05, allocations: 139 kB / 1.244 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001444/1.051, allocations: 449.9 kB / 1.245 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/1.053, allocations: 0.5916 MB / 1.245 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009417/1.054, allocations: 0.6244 MB / 1.246 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005024/1.054, allocations: 228.6 kB / 1.246 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/1.056, allocations: 482.5 kB / 1.246 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003518/1.057, allocations: 195.2 kB / 1.247 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.069e-05/1.057, allocations: 28 kB / 1.247 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/1.058, allocations: 0.53 MB / 1.247 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001324/1.058, allocations: 99.7 kB / 1.247 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002108/1.059, allocations: 147.3 kB / 1.247 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009552/1.059, allocations: 0.5415 MB / 1.248 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.059, allocations: 0 / 1.248 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/1.059, allocations: 0 / 1.248 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.175e-05/1.06, allocations: 0 / 1.248 GB, free: 5.434 MB / 0.9669 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.001193/1.061, allocations: 0.635 MB / 1.249 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/1.061, allocations: 8.031 kB / 1.249 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005339/1.061, allocations: 75.5 kB / 1.249 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/1.062, allocations: 301.3 kB / 1.249 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/1.062, allocations: 12.44 kB / 1.249 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.69e-05/1.062, allocations: 27.94 kB / 1.249 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007257/1.063, allocations: 312.1 kB / 1.249 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/1.063, allocations: 0 / 1.249 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/1.063, allocations: 11.94 kB / 1.249 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/1.063, allocations: 11.94 kB / 1.249 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006856/1.063, allocations: 244.9 kB / 1.25 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/1.065, allocations: 1.248 MB / 1.251 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/1.066, allocations: 174.5 kB / 1.251 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00035/1.066, allocations: 128.7 kB / 1.251 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000638/1.067, allocations: 303.2 kB / 1.251 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/1.067, allocations: 34.56 kB / 1.251 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/1.067, allocations: 4 kB / 1.251 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.002372/1.069, allocations: 0.5682 MB / 1.252 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/1.069, allocations: 59.41 kB / 1.252 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/1.069, allocations: 259 kB / 1.252 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/1.07, allocations: 33.7 kB / 1.252 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/1.07, allocations: 164.1 kB / 1.252 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.236e-05/1.07, allocations: 51.34 kB / 1.252 GB, free: 460 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.919e-05/1.07, allocations: 33.72 kB / 1.253 GB, free: 420 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.07, allocations: 330.8 kB / 1.253 GB, free: 80 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/1.07, allocations: 99.91 kB / 1.253 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/1.071, allocations: 134.5 kB / 1.253 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006009/1.071, allocations: 236.1 kB / 1.253 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/1.071, allocations: 0 / 1.253 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001193/1.072, allocations: 357.8 kB / 1.254 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/1.072, allocations: 8 kB / 1.254 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.073, allocations: 0 / 1.254 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006158/1.073, allocations: 88.88 kB / 1.254 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002699/1.073, allocations: 43.91 kB / 1.254 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/1.076, allocations: 1.726 MB / 1.255 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/1.076, allocations: 35.88 kB / 1.255 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/1.076, allocations: 11.94 kB / 1.255 GB, free: 13.18 MB / 0.9825 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.0001877/1.076, allocations: 149.8 kB / 1.256 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/1.076, allocations: 23.72 kB / 1.256 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/1.078, allocations: 371.8 kB / 1.256 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.078, allocations: 0 / 1.256 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/1.078, allocations: 7.938 kB / 1.256 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/1.078, allocations: 0 / 1.256 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/1.079, allocations: 0.7707 MB / 1.257 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.08, allocations: 4.094 kB / 1.257 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/1.08, allocations: 35.97 kB / 1.257 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/1.08, allocations: 80.77 kB / 1.257 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/1.08, allocations: 11.88 kB / 1.257 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/1.083, allocations: 1.743 MB / 1.259 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.083, allocations: 3.938 kB / 1.259 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/1.084, allocations: 453.2 kB / 1.259 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/1.084, allocations: 124.8 kB / 1.259 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/1.084, allocations: 11.98 kB / 1.259 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/1.084, allocations: 19.92 kB / 1.259 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/1.084, allocations: 19.97 kB / 1.259 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/1.084, allocations: 8 kB / 1.259 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002561/1.085, allocations: 186 kB / 1.259 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.085, allocations: 0 / 1.259 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004675/1.085, allocations: 83.83 kB / 1.259 GB, free: 8.82 MB / 0.9825 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.0004438/1.086, allocations: 160.5 kB / 1.26 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001144/1.087, allocations: 370.6 kB / 1.26 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.087, allocations: 0 / 1.26 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006107/1.087, allocations: 262.6 kB / 1.26 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007331/1.088, allocations: 122.7 kB / 1.26 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/1.089, allocations: 0.5282 MB / 1.261 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/1.09, allocations: 0.7829 MB / 1.262 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/1.09, allocations: 19.44 kB / 1.262 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/1.09, allocations: 0 / 1.262 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of Templates: time 0.009236/1.099, allocations: 5.394 MB / 1.267 GB, free: 1.145 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (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 & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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