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: 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_10_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_10_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.001351/0.001351, allocations: 111 kB / 16.41 MB, free: 6.461 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.001464/0.001464, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.326/1.326, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.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.454/2.454, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 67.89 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8267/0.8282, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1535/0.9818, allocations: 161.5 MB / 1.325 GB, free: 1.691 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004173/0.986, allocations: 3.481 MB / 1.328 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002787/0.9863, allocations: 11.94 kB / 1.328 GB, free: 14.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004146/0.9867, allocations: 139 kB / 1.329 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.9878, allocations: 465.9 kB / 1.329 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.9892, allocations: 0.6022 MB / 1.33 GB, free: 12.99 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006176/0.9899, allocations: 0.6321 MB / 1.33 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.9902, allocations: 232.6 kB / 1.33 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.9913, allocations: 340.8 kB / 1.331 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.9915, allocations: 195.1 kB / 1.331 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.9916, allocations: 24 kB / 1.331 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008061/0.9924, allocations: 0.5535 MB / 1.332 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.607e-05/0.9925, allocations: 103.7 kB / 1.332 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.9926, allocations: 147.2 kB / 1.332 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007115/0.9934, allocations: 0.5457 MB / 1.332 GB, free: 10.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.9934, allocations: 0 / 1.332 GB, free: 10.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.995e-06/0.9934, allocations: 0 / 1.332 GB, free: 10.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.9934, allocations: 7.938 kB / 1.332 GB, free: 10.24 MB / 1.061 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.0009953/0.9944, allocations: 0.6461 MB / 1.333 GB, free: 9.543 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.9944, allocations: 12.92 kB / 1.333 GB, free: 9.531 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004963/0.9949, allocations: 75.7 kB / 1.333 GB, free: 9.457 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.9953, allocations: 309.5 kB / 1.333 GB, free: 9.113 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.9953, allocations: 16.44 kB / 1.333 GB, free: 9.098 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.9954, allocations: 20 kB / 1.333 GB, free: 9.078 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005813/0.996, allocations: 320.1 kB / 1.334 GB, free: 8.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.996, allocations: 0 / 1.334 GB, free: 8.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.996, allocations: 4 kB / 1.334 GB, free: 8.746 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.996, allocations: 11.94 kB / 1.334 GB, free: 8.734 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006127/0.9966, allocations: 248.9 kB / 1.334 GB, free: 8.492 MB / 1.061 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.001395/0.9981, allocations: 1.237 MB / 1.335 GB, free: 7.145 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.9985, allocations: 188.2 kB / 1.335 GB, free: 6.953 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.9988, allocations: 120.8 kB / 1.335 GB, free: 6.832 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005247/0.9993, allocations: 303.2 kB / 1.336 GB, free: 6.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.9994, allocations: 42.55 kB / 1.336 GB, free: 6.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.9994, allocations: 0 / 1.336 GB, free: 6.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.002104/1.001, allocations: 0.5732 MB / 1.336 GB, free: 5.828 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/1.002, allocations: 51.41 kB / 1.336 GB, free: 5.766 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/1.002, allocations: 259 kB / 1.337 GB, free: 5.508 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/1.002, allocations: 29.7 kB / 1.337 GB, free: 5.473 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.547e-05/1.002, allocations: 172.2 kB / 1.337 GB, free: 5.301 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/1.002, allocations: 47.58 kB / 1.337 GB, free: 5.254 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/1.002, allocations: 41.66 kB / 1.337 GB, free: 5.207 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001011/1.002, allocations: 338.8 kB / 1.337 GB, free: 4.867 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/1.002, allocations: 91.91 kB / 1.337 GB, free: 4.777 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/1.003, allocations: 144.1 kB / 1.337 GB, free: 4.621 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005515/1.003, allocations: 238.1 kB / 1.338 GB, free: 4.375 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/1.003, allocations: 0 / 1.338 GB, free: 4.375 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001091/1.004, allocations: 350.1 kB / 1.338 GB, free: 4.023 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/1.004, allocations: 14.03 kB / 1.338 GB, free: 4.012 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.004, allocations: 0 / 1.338 GB, free: 4.012 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00057/1.005, allocations: 96.69 kB / 1.338 GB, free: 3.914 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/1.005, allocations: 35.97 kB / 1.338 GB, free: 3.879 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/1.007, allocations: 1.725 MB / 1.34 GB, free: 2.008 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/1.007, allocations: 39.8 kB / 1.34 GB, free: 1.969 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/1.007, allocations: 8 kB / 1.34 GB, free: 1.961 MB / 1.061 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.0001419/1.008, allocations: 145.9 kB / 1.34 GB, free: 1.809 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/1.008, allocations: 23.86 kB / 1.34 GB, free: 1.785 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/1.009, allocations: 363.9 kB / 1.34 GB, free: 1.422 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/1.009, allocations: 4 kB / 1.34 GB, free: 1.418 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/1.009, allocations: 0 / 1.34 GB, free: 1.418 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.009, allocations: 0 / 1.34 GB, free: 1.418 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/1.01, allocations: 0.7824 MB / 1.341 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.01, allocations: 0 / 1.341 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/1.011, allocations: 35.91 kB / 1.341 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004199/1.011, allocations: 84.86 kB / 1.341 GB, free: 456 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/1.011, allocations: 3.938 kB / 1.341 GB, free: 452 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/1.013, allocations: 1.74 MB / 1.343 GB, free: 14.56 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.013, allocations: 4.031 kB / 1.343 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/1.014, allocations: 453.8 kB / 1.343 GB, free: 14.09 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/1.014, allocations: 128.8 kB / 1.344 GB, free: 13.94 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/1.014, allocations: 8 kB / 1.344 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/1.014, allocations: 23.91 kB / 1.344 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/1.014, allocations: 23.91 kB / 1.344 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/1.014, allocations: 11.94 kB / 1.344 GB, free: 13.88 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001551/1.015, allocations: 186 kB / 1.344 GB, free: 13.7 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.7e-07/1.015, allocations: 0 / 1.344 GB, free: 13.7 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003942/1.015, allocations: 87.89 kB / 1.344 GB, free: 13.61 MB / 1.076 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.0003744/1.015, allocations: 159.6 kB / 1.344 GB, free: 13.45 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009862/1.016, allocations: 370.5 kB / 1.344 GB, free: 13.07 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.016, allocations: 0 / 1.344 GB, free: 13.07 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005595/1.017, allocations: 258.7 kB / 1.345 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006884/1.018, allocations: 118.1 kB / 1.345 GB, free: 12.7 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008146/1.018, allocations: 0.53 MB / 1.345 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/1.019, allocations: 0.7791 MB / 1.346 GB, free: 11.32 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/1.019, allocations: 19.44 kB / 1.346 GB, free: 11.3 MB / 1.076 GB Notification: Performance of SimCode: time 2.11e-07/1.019, allocations: 0 / 1.346 GB, free: 11.3 MB / 1.076 GB Notification: Performance of Templates: time 0.007622/1.026, allocations: 5.405 MB / 1.351 GB, free: 5.922 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (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 & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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