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: 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_9_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_9_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.001155/0.001155, allocations: 102.9 kB / 15.98 MB, free: 6.348 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.001106/0.001106, allocations: 194.7 kB / 16.91 MB, free: 6.188 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.6 MB, free: 15.39 MB / 206.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.239/2.239, allocations: 390.3 MB / 0.665 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 64.56 kB / 0.8127 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2948, allocations: 140.4 MB / 0.9498 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.7366/1.031, allocations: 159.3 MB / 1.105 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004999/1.036, allocations: 3.474 MB / 1.109 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004485/1.037, allocations: 11.09 kB / 1.109 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005048/1.037, allocations: 109.3 kB / 1.109 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001445/1.039, allocations: 427.1 kB / 1.109 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001908/1.041, allocations: 0.5438 MB / 1.11 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008861/1.042, allocations: 0.6284 MB / 1.11 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000415/1.042, allocations: 220 kB / 1.111 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/1.044, allocations: 341.6 kB / 1.111 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/1.044, allocations: 214.5 kB / 1.111 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.198e-05/1.044, allocations: 21.81 kB / 1.111 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/1.046, allocations: 0.5605 MB / 1.112 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/1.046, allocations: 99.05 kB / 1.112 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/1.046, allocations: 145.5 kB / 1.112 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000681/1.047, allocations: 401.5 kB / 1.112 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.047, allocations: 3.406 kB / 1.112 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/1.047, allocations: 0 / 1.112 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.382e-06/1.047, allocations: 0 / 1.112 GB, free: 5.469 MB / 0.8575 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.001259/1.048, allocations: 0.6334 MB / 1.113 GB, free: 20.99 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/1.048, allocations: 9.438 kB / 1.113 GB, free: 20.99 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005293/1.049, allocations: 77.22 kB / 1.113 GB, free: 20.97 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/1.049, allocations: 297.5 kB / 1.113 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/1.049, allocations: 19.56 kB / 1.113 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/1.049, allocations: 15.97 kB / 1.113 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006639/1.05, allocations: 312.9 kB / 1.114 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.05, allocations: 2.531 kB / 1.114 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/1.05, allocations: 10.44 kB / 1.114 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/1.05, allocations: 5.875 kB / 1.114 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006658/1.05, allocations: 250.6 kB / 1.114 GB, free: 20.66 MB / 0.8731 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.001678/1.052, allocations: 1.242 MB / 1.115 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004456/1.053, allocations: 174.3 kB / 1.115 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/1.053, allocations: 129.1 kB / 1.115 GB, free: 19.76 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006133/1.054, allocations: 304.3 kB / 1.116 GB, free: 19.47 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/1.054, allocations: 32.36 kB / 1.116 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.664e-06/1.054, allocations: 0 / 1.116 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.002339/1.056, allocations: 0.58 MB / 1.116 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/1.056, allocations: 62.11 kB / 1.116 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/1.056, allocations: 260.5 kB / 1.117 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/1.056, allocations: 26.8 kB / 1.117 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/1.056, allocations: 164.2 kB / 1.117 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/1.057, allocations: 43.8 kB / 1.117 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.768e-05/1.057, allocations: 40.38 kB / 1.117 GB, free: 18.91 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.057, allocations: 335.2 kB / 1.117 GB, free: 18.6 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/1.057, allocations: 99.17 kB / 1.117 GB, free: 18.6 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/1.057, allocations: 132.2 kB / 1.117 GB, free: 18.56 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005765/1.058, allocations: 238.6 kB / 1.118 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.058, allocations: 1.25 kB / 1.118 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001165/1.059, allocations: 359.7 kB / 1.118 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.059, allocations: 7.812 kB / 1.118 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.059, allocations: 1.125 kB / 1.118 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006575/1.06, allocations: 90.59 kB / 1.118 GB, free: 18.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/1.06, allocations: 42.45 kB / 1.118 GB, free: 18.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/1.062, allocations: 1.736 MB / 1.12 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/1.063, allocations: 34.75 kB / 1.12 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/1.063, allocations: 5.594 kB / 1.12 GB, free: 17.03 MB / 0.8731 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.0001859/1.063, allocations: 147.5 kB / 1.12 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/1.063, allocations: 23.47 kB / 1.12 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/1.064, allocations: 370 kB / 1.12 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/1.064, allocations: 4.672 kB / 1.12 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/1.064, allocations: 1.406 kB / 1.12 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.064, allocations: 0.8906 kB / 1.12 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/1.066, allocations: 0.7756 MB / 1.121 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.066, allocations: 4.062 kB / 1.121 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/1.066, allocations: 32.62 kB / 1.121 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004517/1.067, allocations: 82.12 kB / 1.121 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/1.067, allocations: 5.125 kB / 1.121 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/1.069, allocations: 1.74 MB / 1.123 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.069, allocations: 3.422 kB / 1.123 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/1.07, allocations: 456.9 kB / 1.123 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/1.07, allocations: 122.5 kB / 1.123 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/1.07, allocations: 6.891 kB / 1.123 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/1.071, allocations: 29.5 kB / 1.124 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.274e-05/1.071, allocations: 18.44 kB / 1.124 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/1.071, allocations: 14.22 kB / 1.124 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002105/1.071, allocations: 190.4 kB / 1.124 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/1.071, allocations: 0 / 1.124 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005252/1.071, allocations: 85.7 kB / 1.124 GB, free: 14.7 MB / 0.8731 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.000452/1.072, allocations: 155.6 kB / 1.124 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001024/1.073, allocations: 370.3 kB / 1.124 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.073, allocations: 0 / 1.124 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000591/1.074, allocations: 256.9 kB / 1.125 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007643/1.074, allocations: 125.8 kB / 1.125 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009729/1.075, allocations: 0.6294 MB / 1.125 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/1.076, allocations: 0.7698 MB / 1.126 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.543e-05/1.076, allocations: 22.19 kB / 1.126 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/1.076, allocations: 4 kB / 1.126 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of Templates: time 0.01038/1.086, allocations: 5.385 MB / 1.131 GB, free: 12.82 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (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 & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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