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.001779/0.001779, allocations: 80.41 kB / 20.23 MB, free: 4.18 MB / 18.57 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.002311/0.002311, allocations: 161.3 kB / 23.54 MB, free: 0.8711 MB / 18.57 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.525/1.525, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 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.841/2.841, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 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 2.154e-06/2.154e-06, allocations: 0 / 0.8108 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.669e-05/4.884e-05, allocations: 3.375 kB / 0.8108 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2739/0.274, allocations: 142.3 MB / 0.9498 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006249/0.2802, allocations: 3.24 MB / 0.953 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004127/0.2806, allocations: 15.88 kB / 0.953 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006355/0.2813, allocations: 142.8 kB / 0.9531 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.2829, allocations: 465.6 kB / 0.9536 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.285, allocations: 0.6344 MB / 0.9542 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.2861, allocations: 0.6244 MB / 0.9548 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005174/0.2866, allocations: 186.7 kB / 0.955 GB, free: 12.9 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.289, allocations: 0.6088 MB / 0.9556 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004162/0.2895, allocations: 171.5 kB / 0.9557 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 7.221e-05/0.2895, allocations: 20 kB / 0.9557 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.2907, allocations: 482.6 kB / 0.9562 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.2909, allocations: 107.6 kB / 0.9563 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.2911, allocations: 91.77 kB / 0.9564 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.2927, allocations: 0.5842 MB / 0.957 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2927, allocations: 0 / 0.957 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2927, allocations: 0 / 0.957 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.56e-05/0.2927, allocations: 0 / 0.957 GB, free: 10.89 MB / 0.8698 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.001507/0.2942, allocations: 0.5631 MB / 0.9575 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2943, allocations: 8.031 kB / 0.9575 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008084/0.2951, allocations: 123.4 kB / 0.9576 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/0.2956, allocations: 264 kB / 0.9579 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.2957, allocations: 16.5 kB / 0.9579 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/0.2957, allocations: 20 kB / 0.9579 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008207/0.2965, allocations: 360.4 kB / 0.9583 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.2965, allocations: 4 kB / 0.9583 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.2966, allocations: 8 kB / 0.9583 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2966, allocations: 11.94 kB / 0.9583 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008264/0.2974, allocations: 252.8 kB / 0.9585 GB, free: 9.191 MB / 0.8698 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.001925/0.2993, allocations: 0.9449 MB / 0.9595 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005189/0.2999, allocations: 162.5 kB / 0.9596 GB, free: 8.027 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.3002, allocations: 124.8 kB / 0.9597 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005263/0.3007, allocations: 67.92 kB / 0.9598 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.3008, allocations: 38.56 kB / 0.9598 GB, free: 7.789 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.512e-06/0.3008, allocations: 4 kB / 0.9598 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.002577/0.3033, allocations: 0.5018 MB / 0.9603 GB, free: 7.273 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.3034, allocations: 51.41 kB / 0.9604 GB, free: 7.211 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.3037, allocations: 233.8 kB / 0.9606 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.3038, allocations: 25.7 kB / 0.9606 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.3039, allocations: 176.3 kB / 0.9608 GB, free: 6.766 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/0.304, allocations: 43.66 kB / 0.9608 GB, free: 6.723 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/0.3041, allocations: 37.66 kB / 0.9609 GB, free: 6.68 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000208/0.3043, allocations: 338.8 kB / 0.9612 GB, free: 6.34 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.3046, allocations: 95.91 kB / 0.9613 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.305, allocations: 165.8 kB / 0.9614 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006898/0.3057, allocations: 243.2 kB / 0.9617 GB, free: 5.812 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3057, allocations: 0 / 0.9617 GB, free: 5.812 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001353/0.3071, allocations: 346.1 kB / 0.962 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.3071, allocations: 16.06 kB / 0.962 GB, free: 5.449 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3071, allocations: 0 / 0.962 GB, free: 5.449 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.3082, allocations: 148.7 kB / 0.9622 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.3084, allocations: 39.91 kB / 0.9622 GB, free: 5.262 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002953/0.3114, allocations: 1.601 MB / 0.9638 GB, free: 3.555 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.3117, allocations: 27.86 kB / 0.9638 GB, free: 3.527 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.3117, allocations: 8 kB / 0.9638 GB, free: 3.52 MB / 0.8698 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.000203/0.3119, allocations: 145.7 kB / 0.9639 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.398e-05/0.312, allocations: 35.92 kB / 0.964 GB, free: 3.332 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.3133, allocations: 352 kB / 0.9643 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3133, allocations: 3.938 kB / 0.9643 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3133, allocations: 7.875 kB / 0.9643 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3133, allocations: 192 / 0.9643 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.3152, allocations: 0.6884 MB / 0.965 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3152, allocations: 96 / 0.965 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.3154, allocations: 39.97 kB / 0.965 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008322/0.3162, allocations: 132.7 kB / 0.9652 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.3162, allocations: 8 kB / 0.9652 GB, free: 2.047 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/0.3187, allocations: 1.617 MB / 0.9667 GB, free: 328 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3187, allocations: 8.094 kB / 0.9668 GB, free: 320 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.32, allocations: 449.6 kB / 0.9672 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.3201, allocations: 51.7 kB / 0.9672 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.3201, allocations: 4 kB / 0.9672 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.3204, allocations: 23.97 kB / 0.9673 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-05/0.3205, allocations: 15.97 kB / 0.9673 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.3205, allocations: 8 kB / 0.9673 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001821/0.3207, allocations: 157.2 kB / 0.9674 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3207, allocations: 4 kB / 0.9674 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005026/0.3212, allocations: 91.83 kB / 0.9675 GB, free: 15.5 MB / 0.8855 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.0003811/0.3216, allocations: 151.2 kB / 0.9677 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.3228, allocations: 362.2 kB / 0.968 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.3228, allocations: 4 kB / 0.968 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006704/0.3235, allocations: 250.4 kB / 0.9683 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007417/0.3242, allocations: 116 kB / 0.9684 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.3254, allocations: 0.4893 MB / 0.9688 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.3256, allocations: 166.8 kB / 0.969 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000211/0.3258, allocations: 49.92 kB / 0.969 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.3259, allocations: 20.5 kB / 0.9691 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of SimCode: time 6.41e-07/0.3259, allocations: 0 / 0.9691 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of Templates: time 0.01346/0.3393, allocations: 5.685 MB / 0.9746 GB, free: 8.277 MB / 0.8855 GB " [Timeout remaining time 300] 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: 8.57989638892468]