Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00207/0.00207, allocations: 84.12 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002712/0.002712, allocations: 168.3 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.587/1.587, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.94/2.94, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senWetBul.T|sou.T_in|sou.Xi_in.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.038e-05/3.231e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2079/0.2079, allocations: 142.3 MB / 1.12 GB, free: 13.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005577/0.2135, allocations: 3.248 MB / 1.124 GB, free: 9.84 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003761/0.2139, allocations: 19.81 kB / 1.124 GB, free: 9.82 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006503/0.2145, allocations: 150.8 kB / 1.124 GB, free: 9.672 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.2162, allocations: 461.6 kB / 1.124 GB, free: 9.219 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.2182, allocations: 0.6339 MB / 1.125 GB, free: 8.586 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008769/0.2191, allocations: 0.6166 MB / 1.125 GB, free: 7.965 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004148/0.2195, allocations: 188.9 kB / 1.126 GB, free: 7.777 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002231/0.2217, allocations: 0.5794 MB / 1.126 GB, free: 7.207 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.222, allocations: 167.5 kB / 1.126 GB, free: 7.043 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.083e-05/0.2221, allocations: 28 kB / 1.126 GB, free: 7.016 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.2232, allocations: 478.6 kB / 1.127 GB, free: 6.547 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.2233, allocations: 99.64 kB / 1.127 GB, free: 6.449 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.2235, allocations: 95.77 kB / 1.127 GB, free: 6.355 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.2245, allocations: 0.5765 MB / 1.128 GB, free: 5.777 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2245, allocations: 3.938 kB / 1.128 GB, free: 5.773 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2245, allocations: 0 / 1.128 GB, free: 5.773 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.2245, allocations: 0 / 1.128 GB, free: 5.773 MB / 1.076 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.001212/0.2258, allocations: 0.5708 MB / 1.128 GB, free: 5.172 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.2258, allocations: 12.03 kB / 1.128 GB, free: 5.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006492/0.2265, allocations: 75.69 kB / 1.128 GB, free: 5.086 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.2269, allocations: 248.1 kB / 1.128 GB, free: 4.82 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.2269, allocations: 16.5 kB / 1.128 GB, free: 4.805 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.227, allocations: 20 kB / 1.128 GB, free: 4.785 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008233/0.2278, allocations: 364.3 kB / 1.129 GB, free: 4.395 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.2278, allocations: 4 kB / 1.129 GB, free: 4.391 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.716e-05/0.2279, allocations: 11.98 kB / 1.129 GB, free: 4.379 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.2279, allocations: 8 kB / 1.129 GB, free: 4.371 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007402/0.2286, allocations: 240.9 kB / 1.129 GB, free: 4.137 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.2303, allocations: 0.9448 MB / 1.13 GB, free: 3.141 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/0.2308, allocations: 162.5 kB / 1.13 GB, free: 2.973 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.2311, allocations: 120.7 kB / 1.13 GB, free: 2.852 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005158/0.2316, allocations: 75.92 kB / 1.13 GB, free: 2.777 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.2317, allocations: 34.56 kB / 1.13 GB, free: 2.734 MB / 1.076 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.2317, allocations: 8 kB / 1.13 GB, free: 2.727 MB / 1.076 GB Notification: Performance of matching and sorting (n=14): time 0.002399/0.2341, allocations: 0.4898 MB / 1.131 GB, free: 2.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.2341, allocations: 59.34 kB / 1.131 GB, free: 2.16 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.2344, allocations: 233.9 kB / 1.131 GB, free: 1.926 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.2344, allocations: 25.7 kB / 1.131 GB, free: 1.895 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.2346, allocations: 176.3 kB / 1.131 GB, free: 1.719 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-05/0.2346, allocations: 47.55 kB / 1.131 GB, free: 1.672 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.68e-05/0.2347, allocations: 37.7 kB / 1.131 GB, free: 1.629 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.2349, allocations: 334.8 kB / 1.132 GB, free: 1.293 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.2352, allocations: 99.81 kB / 1.132 GB, free: 1.195 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003765/0.2356, allocations: 160.2 kB / 1.132 GB, free: 1.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007004/0.2363, allocations: 244.1 kB / 1.132 GB, free: 0.7656 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.2363, allocations: 0 / 1.132 GB, free: 0.7656 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00129/0.2376, allocations: 346.2 kB / 1.133 GB, free: 428 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.2376, allocations: 11.94 kB / 1.133 GB, free: 416 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2376, allocations: 0 / 1.133 GB, free: 416 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006866/0.2383, allocations: 96.73 kB / 1.133 GB, free: 316 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.2385, allocations: 43.91 kB / 1.133 GB, free: 272 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7688/1.007, allocations: 1.575 MB / 1.134 GB, free: 195.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/1.008, allocations: 29.31 kB / 1.134 GB, free: 195.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/1.008, allocations: 9.719 kB / 1.134 GB, free: 195.6 MB / 1.076 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.0001847/1.008, allocations: 152.1 kB / 1.134 GB, free: 195.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/1.008, allocations: 22.81 kB / 1.134 GB, free: 195.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/1.009, allocations: 357.5 kB / 1.135 GB, free: 195.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.009, allocations: 6.484 kB / 1.135 GB, free: 195.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/1.009, allocations: 3.031 kB / 1.135 GB, free: 195.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/1.009, allocations: 3.625 kB / 1.135 GB, free: 195.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/1.011, allocations: 0.689 MB / 1.135 GB, free: 195.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.011, allocations: 0 / 1.135 GB, free: 195.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/1.011, allocations: 33.91 kB / 1.135 GB, free: 195.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004576/1.011, allocations: 81.62 kB / 1.136 GB, free: 195.1 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/1.011, allocations: 4 kB / 1.136 GB, free: 195.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/1.013, allocations: 1.615 MB / 1.137 GB, free: 193.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.013, allocations: 2.844 kB / 1.137 GB, free: 193.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/1.014, allocations: 451.1 kB / 1.138 GB, free: 193.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.7e-05/1.014, allocations: 46.56 kB / 1.138 GB, free: 193.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/1.014, allocations: 4.25 kB / 1.138 GB, free: 193.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/1.014, allocations: 25.67 kB / 1.138 GB, free: 193.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/1.014, allocations: 16.45 kB / 1.138 GB, free: 193.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/1.014, allocations: 9.438 kB / 1.138 GB, free: 193.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001115/1.014, allocations: 164.7 kB / 1.138 GB, free: 193.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.014, allocations: 0 / 1.138 GB, free: 193.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004313/1.015, allocations: 81.97 kB / 1.138 GB, free: 193.4 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.0003065/1.015, allocations: 151.5 kB / 1.138 GB, free: 193.3 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009695/1.016, allocations: 366.7 kB / 1.138 GB, free: 193.1 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.016, allocations: 0 / 1.138 GB, free: 193.1 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005432/1.017, allocations: 252.1 kB / 1.139 GB, free: 193 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006398/1.017, allocations: 101.5 kB / 1.139 GB, free: 193 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008218/1.018, allocations: 0.4918 MB / 1.139 GB, free: 192.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/1.018, allocations: 163.5 kB / 1.139 GB, free: 192.6 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001541/1.018, allocations: 50.77 kB / 1.139 GB, free: 192.6 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/1.018, allocations: 19.81 kB / 1.139 GB, free: 192.6 MB / 1.076 GB Notification: Performance of SimCode: time 1.001e-06/1.018, allocations: 0 / 1.139 GB, free: 192.6 MB / 1.076 GB Notification: Performance of Templates: time 0.01018/1.029, allocations: 5.48 MB / 1.145 GB, free: 192.1 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.997416768223047]