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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001444/0.00145, allocations: 110.8 kB / 16.37 MB, free: 6.012 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.001791/0.001791, allocations: 191.4 kB / 17.31 MB, free: 5.613 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 66.38 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2785, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.7248/1.003, allocations: 161.5 MB / 1.109 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00562/1.009, allocations: 3.484 MB / 1.112 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007011/1.01, allocations: 8.844 kB / 1.112 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006327/1.01, allocations: 137.7 kB / 1.112 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/1.012, allocations: 449.3 kB / 1.113 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002283/1.015, allocations: 0.5987 MB / 1.113 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00145/1.016, allocations: 0.6269 MB / 1.114 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006595/1.017, allocations: 233.4 kB / 1.114 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/1.018, allocations: 334 kB / 1.115 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003888/1.019, allocations: 194.7 kB / 1.115 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.472e-05/1.019, allocations: 25.44 kB / 1.115 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/1.02, allocations: 0.5489 MB / 1.115 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001701/1.02, allocations: 101.5 kB / 1.115 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000296/1.021, allocations: 144 kB / 1.116 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/1.022, allocations: 0.5532 MB / 1.116 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/1.022, allocations: 0 / 1.116 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/1.022, allocations: 2.359 kB / 1.116 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.584e-05/1.022, allocations: 0 / 1.116 GB, free: 5.633 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.001625/1.024, allocations: 0.6355 MB / 1.117 GB, free: 21.16 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.024, allocations: 10.12 kB / 1.117 GB, free: 21.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005723/1.025, allocations: 79.98 kB / 1.117 GB, free: 21.14 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/1.025, allocations: 307.9 kB / 1.117 GB, free: 20.91 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/1.025, allocations: 17.11 kB / 1.117 GB, free: 20.91 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/1.025, allocations: 19.31 kB / 1.117 GB, free: 20.91 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007006/1.026, allocations: 316.4 kB / 1.117 GB, free: 20.83 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.026, allocations: 0 / 1.117 GB, free: 20.83 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/1.026, allocations: 10.34 kB / 1.117 GB, free: 20.83 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/1.026, allocations: 4.375 kB / 1.117 GB, free: 20.83 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006344/1.027, allocations: 254 kB / 1.118 GB, free: 20.82 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.001792/1.028, allocations: 1.24 MB / 1.119 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/1.029, allocations: 171.6 kB / 1.119 GB, free: 19.94 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/1.029, allocations: 124 kB / 1.119 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006098/1.03, allocations: 300.6 kB / 1.119 GB, free: 19.65 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/1.03, allocations: 38.31 kB / 1.119 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/1.03, allocations: 1.375 kB / 1.119 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.002436/1.032, allocations: 0.5751 MB / 1.12 GB, free: 19.44 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/1.032, allocations: 54.61 kB / 1.12 GB, free: 19.38 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/1.033, allocations: 262.8 kB / 1.12 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/1.033, allocations: 32.23 kB / 1.12 GB, free: 19.24 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/1.033, allocations: 165.6 kB / 1.121 GB, free: 19.13 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/1.033, allocations: 44.56 kB / 1.121 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.444e-05/1.033, allocations: 39.42 kB / 1.121 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001591/1.033, allocations: 334.6 kB / 1.121 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/1.034, allocations: 93.12 kB / 1.121 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/1.034, allocations: 141.9 kB / 1.121 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/1.035, allocations: 236.4 kB / 1.121 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.035, allocations: 0 / 1.121 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001254/1.036, allocations: 356.1 kB / 1.122 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/1.036, allocations: 6.391 kB / 1.122 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.036, allocations: 1.062 kB / 1.122 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006322/1.037, allocations: 95.41 kB / 1.122 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/1.037, allocations: 41.86 kB / 1.122 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/1.039, allocations: 1.733 MB / 1.124 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/1.04, allocations: 28.84 kB / 1.124 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/1.04, allocations: 9.891 kB / 1.124 GB, free: 17.2 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.0001833/1.04, allocations: 149.4 kB / 1.124 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/1.04, allocations: 22.97 kB / 1.124 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/1.041, allocations: 370.8 kB / 1.124 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/1.041, allocations: 1.375 kB / 1.124 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/1.041, allocations: 1.203 kB / 1.124 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.041, allocations: 2.797 kB / 1.124 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/1.043, allocations: 0.7706 MB / 1.125 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/1.043, allocations: 2.125 kB / 1.125 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/1.043, allocations: 34.89 kB / 1.125 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004437/1.043, allocations: 85.72 kB / 1.125 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/1.043, allocations: 7.234 kB / 1.125 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/1.046, allocations: 1.747 MB / 1.127 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.046, allocations: 1.062 kB / 1.127 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/1.047, allocations: 452.5 kB / 1.127 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/1.047, allocations: 126 kB / 1.127 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/1.047, allocations: 0.9688 kB / 1.127 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/1.047, allocations: 29.09 kB / 1.127 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/1.047, allocations: 19.3 kB / 1.127 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/1.047, allocations: 10.86 kB / 1.127 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001887/1.048, allocations: 185.8 kB / 1.127 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.71e-07/1.048, allocations: 5.094 kB / 1.127 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005071/1.048, allocations: 80.78 kB / 1.128 GB, free: 14.88 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.0004164/1.048, allocations: 157.4 kB / 1.128 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009736/1.049, allocations: 366.9 kB / 1.128 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.049, allocations: 0 / 1.128 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005675/1.05, allocations: 260.7 kB / 1.128 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/1.051, allocations: 124.9 kB / 1.128 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009116/1.052, allocations: 0.5026 MB / 1.129 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/1.052, allocations: 0.7704 MB / 1.13 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002098/1.052, allocations: 58.14 kB / 1.13 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/1.052, allocations: 20.97 kB / 1.13 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/1.052, allocations: 0 / 1.13 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of Templates: time 0.01221/1.065, allocations: 5.942 MB / 1.136 GB, free: 13.2 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 -s gbode -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