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.006572/0.006572, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001403/0.001403, allocations: 195.5 kB / 16.79 MB, free: 6.254 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.441/1.441, allocations: 222.9 MB / 240.5 MB, free: 4.43 MB / 190.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.408/2.408, allocations: 390.2 MB / 0.6649 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 67.84 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.701/0.7029, allocations: 140.3 MB / 0.9496 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1853/0.8883, allocations: 159.3 MB / 1.105 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005062/0.8934, allocations: 3.514 MB / 1.109 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003457/0.8938, allocations: 11.94 kB / 1.109 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004465/0.8943, allocations: 103.3 kB / 1.109 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.8954, allocations: 422.2 kB / 1.109 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.8969, allocations: 0.5444 MB / 1.11 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0007728/0.8977, allocations: 0.8116 MB / 1.11 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/0.898, allocations: 196.6 kB / 1.111 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.8995, allocations: 324.3 kB / 1.111 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.8998, allocations: 199.1 kB / 1.111 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.8998, allocations: 16 kB / 1.111 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009817/0.9008, allocations: 0.6274 MB / 1.112 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.9009, allocations: 95.64 kB / 1.112 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.9011, allocations: 131.3 kB / 1.112 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005039/0.9016, allocations: 391.2 kB / 1.112 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.9016, allocations: 0 / 1.112 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9016, allocations: 0 / 1.112 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.882e-06/0.9016, allocations: 0 / 1.112 GB, free: 10.97 MB / 0.8731 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.001085/0.9027, allocations: 0.635 MB / 1.113 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.9028, allocations: 8.031 kB / 1.113 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005585/0.9033, allocations: 79.5 kB / 1.113 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.9037, allocations: 293.3 kB / 1.113 GB, free: 9.879 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.9037, allocations: 16.44 kB / 1.113 GB, free: 9.863 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.9038, allocations: 16 kB / 1.113 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006418/0.9044, allocations: 312.2 kB / 1.114 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.9045, allocations: 0 / 1.114 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.9045, allocations: 15.94 kB / 1.114 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.9045, allocations: 7.938 kB / 1.114 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006436/0.9052, allocations: 256.6 kB / 1.114 GB, free: 9.246 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.001581/0.9067, allocations: 1.256 MB / 1.115 GB, free: 7.879 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.9072, allocations: 174.5 kB / 1.115 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.9075, allocations: 124.8 kB / 1.115 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006062/0.9081, allocations: 299.2 kB / 1.116 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.9082, allocations: 38.56 kB / 1.116 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.9082, allocations: 0 / 1.116 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.002277/0.9105, allocations: 0.5769 MB / 1.116 GB, free: 6.574 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.9105, allocations: 51.41 kB / 1.116 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.9108, allocations: 263 kB / 1.117 GB, free: 6.25 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.9108, allocations: 25.7 kB / 1.117 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.9109, allocations: 168.2 kB / 1.117 GB, free: 6.051 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.911, allocations: 47.36 kB / 1.117 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.949e-05/0.9111, allocations: 37.61 kB / 1.117 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.9112, allocations: 334.8 kB / 1.117 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.9115, allocations: 91.91 kB / 1.117 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.9118, allocations: 144.1 kB / 1.117 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005559/0.9123, allocations: 240.1 kB / 1.118 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9124, allocations: 0 / 1.118 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00112/0.9135, allocations: 350 kB / 1.118 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.9135, allocations: 13.55 kB / 1.118 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.9135, allocations: 0 / 1.118 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006275/0.9142, allocations: 88.77 kB / 1.118 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.9144, allocations: 39.97 kB / 1.118 GB, free: 4.637 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.9166, allocations: 1.611 MB / 1.12 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.9169, allocations: 35.73 kB / 1.12 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.9169, allocations: 11.92 kB / 1.12 GB, free: 2.844 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.0001804/0.9171, allocations: 142.4 kB / 1.12 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.9171, allocations: 27.72 kB / 1.12 GB, free: 2.668 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.9183, allocations: 367.9 kB / 1.12 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.9184, allocations: 4 kB / 1.12 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.9184, allocations: 0 / 1.12 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.9184, allocations: 0 / 1.12 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.9201, allocations: 0.7746 MB / 1.121 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.9201, allocations: 3.938 kB / 1.121 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.9203, allocations: 31.97 kB / 1.121 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000506/0.9208, allocations: 88.86 kB / 1.121 GB, free: 1.324 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.9208, allocations: 4 kB / 1.121 GB, free: 1.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.9227, allocations: 1.633 MB / 1.123 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.9227, allocations: 3.938 kB / 1.123 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.9239, allocations: 456.9 kB / 1.123 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.924, allocations: 120.9 kB / 1.123 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.9241, allocations: 11.98 kB / 1.123 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.9244, allocations: 23.88 kB / 1.123 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.9245, allocations: 19.97 kB / 1.123 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.9245, allocations: 8 kB / 1.123 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001872/0.9247, allocations: 193.9 kB / 1.123 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9247, allocations: 0 / 1.123 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004659/0.9252, allocations: 79.88 kB / 1.124 GB, free: 14.61 MB / 0.8887 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.0004483/0.9256, allocations: 155.2 kB / 1.124 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.9267, allocations: 366.5 kB / 1.124 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.9267, allocations: 0 / 1.124 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005979/0.9273, allocations: 262.7 kB / 1.124 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007764/0.9281, allocations: 115.9 kB / 1.124 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.9291, allocations: 0.619 MB / 1.125 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.9295, allocations: 0.7752 MB / 1.126 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.043e-05/0.9296, allocations: 19.44 kB / 1.126 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of SimCode: time 5.01e-07/0.9296, allocations: 0 / 1.126 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of Templates: time 0.009391/0.939, allocations: 5.386 MB / 1.131 GB, free: 6.879 MB / 0.8887 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