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.002082/0.002082, allocations: 111 kB / 16.46 MB, free: 6.453 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.00217/0.00217, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.563/1.563, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.361/3.361, allocations: 0.4899 GB / 0.7915 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 66.7 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4768/0.479, allocations: 176.1 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2216/0.7005, allocations: 164.9 MB / 1.482 GB, free: 13.25 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006286/0.7068, allocations: 3.517 MB / 1.486 GB, free: 9.723 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004594/0.7073, allocations: 15.88 kB / 1.486 GB, free: 9.707 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005565/0.7078, allocations: 142.9 kB / 1.486 GB, free: 9.566 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.7093, allocations: 473.9 kB / 1.486 GB, free: 9.102 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.7112, allocations: 0.6083 MB / 1.487 GB, free: 8.496 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0009514/0.7122, allocations: 0.6205 MB / 1.488 GB, free: 7.875 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/0.7126, allocations: 188.8 kB / 1.488 GB, free: 7.691 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.7146, allocations: 0.5053 MB / 1.488 GB, free: 7.195 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.7149, allocations: 203.2 kB / 1.488 GB, free: 6.996 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.7149, allocations: 20 kB / 1.488 GB, free: 6.977 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.7161, allocations: 0.5807 MB / 1.489 GB, free: 6.395 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.7162, allocations: 99.64 kB / 1.489 GB, free: 6.297 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000181/0.7164, allocations: 143.3 kB / 1.489 GB, free: 6.156 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0009435/0.7173, allocations: 0.5528 MB / 1.49 GB, free: 5.602 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.7173, allocations: 4 kB / 1.49 GB, free: 5.598 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.684e-06/0.7173, allocations: 0 / 1.49 GB, free: 5.598 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.7173, allocations: 0 / 1.49 GB, free: 5.598 MB / 1.186 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.001232/0.7186, allocations: 0.65 MB / 1.49 GB, free: 4.895 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.7186, allocations: 15.98 kB / 1.49 GB, free: 4.879 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005923/0.7192, allocations: 83.62 kB / 1.491 GB, free: 4.797 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.7197, allocations: 305.6 kB / 1.491 GB, free: 4.457 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.7197, allocations: 20.44 kB / 1.491 GB, free: 4.438 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.7197, allocations: 16 kB / 1.491 GB, free: 4.422 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007193/0.7205, allocations: 316.1 kB / 1.491 GB, free: 4.09 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.7205, allocations: 4 kB / 1.491 GB, free: 4.086 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.7205, allocations: 8 kB / 1.491 GB, free: 4.078 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.7205, allocations: 11.94 kB / 1.491 GB, free: 4.066 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007079/0.7212, allocations: 244.9 kB / 1.491 GB, free: 3.828 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.7232, allocations: 1.256 MB / 1.493 GB, free: 2.457 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.7236, allocations: 162.5 kB / 1.493 GB, free: 2.289 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/0.724, allocations: 116.8 kB / 1.493 GB, free: 2.172 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006354/0.7246, allocations: 299.2 kB / 1.493 GB, free: 1.824 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.7246, allocations: 38.56 kB / 1.493 GB, free: 1.777 MB / 1.186 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.7246, allocations: 7.938 kB / 1.493 GB, free: 1.77 MB / 1.186 GB Notification: Performance of matching and sorting (n=14): time 0.00247/0.7271, allocations: 0.5693 MB / 1.494 GB, free: 1.172 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.7272, allocations: 51.41 kB / 1.494 GB, free: 1.109 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.7274, allocations: 259 kB / 1.494 GB, free: 0.8477 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.7275, allocations: 33.7 kB / 1.494 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.7276, allocations: 160.3 kB / 1.494 GB, free: 0.6484 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.7277, allocations: 63.52 kB / 1.494 GB, free: 0.5859 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.427e-05/0.7278, allocations: 37.7 kB / 1.494 GB, free: 0.543 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.7279, allocations: 334.8 kB / 1.495 GB, free: 212 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.7282, allocations: 87.92 kB / 1.495 GB, free: 124 kB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004084/0.7286, allocations: 141.6 kB / 1.495 GB, free: 15.97 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006516/0.7293, allocations: 243.5 kB / 1.495 GB, free: 15.72 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7293, allocations: 3.938 kB / 1.495 GB, free: 15.71 MB / 1.201 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001235/0.7305, allocations: 353.9 kB / 1.495 GB, free: 15.36 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.7306, allocations: 8 kB / 1.495 GB, free: 15.35 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.7306, allocations: 128 / 1.495 GB, free: 15.35 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006392/0.7312, allocations: 88.77 kB / 1.496 GB, free: 15.26 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.7314, allocations: 43.95 kB / 1.496 GB, free: 15.22 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002648/0.7341, allocations: 1.719 MB / 1.497 GB, free: 13.35 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.7344, allocations: 43.75 kB / 1.497 GB, free: 13.31 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.7344, allocations: 8 kB / 1.497 GB, free: 13.3 MB / 1.201 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.000243/0.7346, allocations: 145.8 kB / 1.497 GB, free: 13.15 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.545e-05/0.7347, allocations: 23.86 kB / 1.497 GB, free: 13.12 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.736, allocations: 364 kB / 1.498 GB, free: 12.76 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.736, allocations: 4 kB / 1.498 GB, free: 12.76 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.736, allocations: 0 / 1.498 GB, free: 12.76 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.736, allocations: 0 / 1.498 GB, free: 12.76 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.7379, allocations: 0.7785 MB / 1.499 GB, free: 11.91 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.7379, allocations: 0 / 1.499 GB, free: 11.91 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.7381, allocations: 35.91 kB / 1.499 GB, free: 11.88 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004778/0.7385, allocations: 80.86 kB / 1.499 GB, free: 11.79 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.7386, allocations: 11.94 kB / 1.499 GB, free: 11.78 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002395/0.741, allocations: 1.739 MB / 1.5 GB, free: 9.898 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.741, allocations: 4.125 kB / 1.5 GB, free: 9.895 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.7422, allocations: 457 kB / 1.501 GB, free: 9.422 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.7423, allocations: 128.8 kB / 1.501 GB, free: 9.277 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.7424, allocations: 3.984 kB / 1.501 GB, free: 9.273 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.7426, allocations: 27.92 kB / 1.501 GB, free: 9.246 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/0.7427, allocations: 23.91 kB / 1.501 GB, free: 9.223 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.7428, allocations: 4 kB / 1.501 GB, free: 9.219 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002143/0.743, allocations: 186 kB / 1.501 GB, free: 9.039 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.743, allocations: 0 / 1.501 GB, free: 9.039 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004942/0.7435, allocations: 83.89 kB / 1.501 GB, free: 8.957 MB / 1.201 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.0003845/0.7438, allocations: 151.1 kB / 1.501 GB, free: 8.797 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.745, allocations: 362.4 kB / 1.502 GB, free: 8.43 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.745, allocations: 4.25 kB / 1.502 GB, free: 8.426 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006627/0.7457, allocations: 246.5 kB / 1.502 GB, free: 8.172 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008006/0.7465, allocations: 137.9 kB / 1.502 GB, free: 8.039 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.7476, allocations: 0.4997 MB / 1.503 GB, free: 7.508 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006217/0.7482, allocations: 0.7753 MB / 1.503 GB, free: 6.707 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002181/0.7484, allocations: 54.25 kB / 1.503 GB, free: 6.652 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.7485, allocations: 23.44 kB / 1.503 GB, free: 6.629 MB / 1.201 GB Notification: Performance of SimCode: time 8.32e-07/0.7485, allocations: 0 / 1.503 GB, free: 6.629 MB / 1.201 GB Notification: Performance of Templates: time 0.01448/0.763, allocations: 6.017 MB / 1.509 GB, free: 0.6836 MB / 1.201 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: 10.033372745849192]