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.001838/0.001838, allocations: 87.69 kB / 20.23 MB, free: 4.188 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.002026/0.002026, allocations: 161.7 kB / 23.55 MB, free: 0.875 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.614/1.614, allocations: 177.1 MB / 203.9 MB, free: 5.34 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 3.11/3.11, 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.344e-06/2.344e-06, allocations: 0 / 0.8108 GB, free: 1.965 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.488e-05/3.722e-05, allocations: 7.016 kB / 0.8108 GB, free: 1.957 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2359/0.236, allocations: 157.5 MB / 0.9646 GB, free: 3.969 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.006542/0.2425, allocations: 3.574 MB / 0.9681 GB, free: 396 kB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003829/0.2429, allocations: 15.88 kB / 0.9681 GB, free: 380 kB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005556/0.2435, allocations: 142.9 kB / 0.9683 GB, free: 236 kB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.245, allocations: 461.5 kB / 0.9687 GB, free: 15.78 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.2468, allocations: 0.6266 MB / 0.9693 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001019/0.2479, allocations: 0.6243 MB / 0.9699 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004894/0.2483, allocations: 188.9 kB / 0.9701 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002484/0.2508, allocations: 0.6189 MB / 0.9707 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003392/0.2512, allocations: 171.5 kB / 0.9709 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 5.489e-05/0.2512, allocations: 20 kB / 0.9709 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.2524, allocations: 478.7 kB / 0.9713 GB, free: 13.1 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.2526, allocations: 107.6 kB / 0.9714 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.2528, allocations: 99.75 kB / 0.9715 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.2539, allocations: 0.5803 MB / 0.9721 GB, free: 12.31 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2539, allocations: 0 / 0.9721 GB, free: 12.31 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2539, allocations: 0 / 0.9721 GB, free: 12.31 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.2539, allocations: 0 / 0.9721 GB, free: 12.31 MB / 0.9323 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.001309/0.2552, allocations: 0.6549 MB / 0.9727 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.2553, allocations: 12.03 kB / 0.9728 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006744/0.2559, allocations: 123.4 kB / 0.9729 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000522/0.2565, allocations: 258.9 kB / 0.9731 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.2565, allocations: 12.5 kB / 0.9731 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.2565, allocations: 23.94 kB / 0.9732 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006577/0.2572, allocations: 330.6 kB / 0.9735 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.2572, allocations: 4 kB / 0.9735 GB, free: 10.81 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.2572, allocations: 12 kB / 0.9735 GB, free: 10.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.2572, allocations: 4 kB / 0.9735 GB, free: 10.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004992/0.2577, allocations: 157 kB / 0.9736 GB, free: 10.64 MB / 0.9323 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.001903/0.2597, allocations: 1.197 MB / 0.9748 GB, free: 9.387 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.26, allocations: 127.1 kB / 0.9749 GB, free: 9.25 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.2603, allocations: 79.64 kB / 0.975 GB, free: 9.168 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005181/0.2608, allocations: 63.94 kB / 0.9751 GB, free: 9.105 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.2608, allocations: 41.38 kB / 0.9751 GB, free: 9.055 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.2608, allocations: 0 / 0.9751 GB, free: 9.055 MB / 0.9323 GB Notification: Performance of matching and sorting (n=14): time 0.002086/0.2629, allocations: 407.3 kB / 0.9755 GB, free: 8.648 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.263, allocations: 55.41 kB / 0.9756 GB, free: 8.582 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/0.2633, allocations: 304.3 kB / 0.9758 GB, free: 8.27 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.2634, allocations: 29.7 kB / 0.9759 GB, free: 8.234 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.2636, allocations: 235 kB / 0.9761 GB, free: 7.996 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.564e-05/0.2636, allocations: 63.52 kB / 0.9762 GB, free: 7.934 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.84e-05/0.2637, allocations: 43.36 kB / 0.9762 GB, free: 7.883 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003245/0.2641, allocations: 0.5079 MB / 0.9767 GB, free: 7.363 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.2643, allocations: 63.95 kB / 0.9768 GB, free: 7.301 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.2647, allocations: 136.1 kB / 0.9769 GB, free: 7.141 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004702/0.2652, allocations: 190.3 kB / 0.9771 GB, free: 6.934 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2652, allocations: 0 / 0.9771 GB, free: 6.934 MB / 0.9323 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001075/0.2662, allocations: 279.6 kB / 0.9773 GB, free: 6.652 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.2663, allocations: 11.94 kB / 0.9773 GB, free: 6.641 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.2663, allocations: 3.984 kB / 0.9773 GB, free: 6.637 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.2673, allocations: 143.7 kB / 0.9775 GB, free: 6.492 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.2675, allocations: 35.92 kB / 0.9775 GB, free: 6.457 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003441/0.271, allocations: 2.024 MB / 0.9795 GB, free: 4.312 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.2712, allocations: 19.88 kB / 0.9795 GB, free: 4.293 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.2712, allocations: 12.03 kB / 0.9795 GB, free: 4.281 MB / 0.9323 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.000217/0.2714, allocations: 188.4 kB / 0.9797 GB, free: 4.086 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.507e-05/0.2715, allocations: 28.05 kB / 0.9797 GB, free: 4.059 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.2726, allocations: 290.8 kB / 0.98 GB, free: 3.762 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.2726, allocations: 7.984 kB / 0.98 GB, free: 3.754 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2726, allocations: 3.938 kB / 0.98 GB, free: 3.75 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2726, allocations: 0 / 0.98 GB, free: 3.75 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.2744, allocations: 0.6911 MB / 0.9807 GB, free: 3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2744, allocations: 0 / 0.9807 GB, free: 3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.2746, allocations: 23.98 kB / 0.9807 GB, free: 2.977 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000804/0.2754, allocations: 131.6 kB / 0.9808 GB, free: 2.844 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.2754, allocations: 11.94 kB / 0.9809 GB, free: 2.832 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002553/0.278, allocations: 2.042 MB / 0.9828 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.278, allocations: 4 kB / 0.9829 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.2791, allocations: 446.2 kB / 0.9833 GB, free: 192 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.2792, allocations: 43.83 kB / 0.9833 GB, free: 148 kB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.2792, allocations: 0 / 0.9833 GB, free: 148 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.2794, allocations: 20.05 kB / 0.9833 GB, free: 128 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/0.2795, allocations: 23.91 kB / 0.9834 GB, free: 104 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.2795, allocations: 12 kB / 0.9834 GB, free: 92 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002356/0.2798, allocations: 213.1 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.2798, allocations: 0 / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004637/0.2802, allocations: 87.78 kB / 0.9837 GB, free: 15.8 MB / 0.948 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.0003286/0.2806, allocations: 147.3 kB / 0.9838 GB, free: 15.64 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009443/0.2815, allocations: 365.4 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2815, allocations: 3.938 kB / 0.9842 GB, free: 15.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005874/0.2821, allocations: 291.8 kB / 0.9844 GB, free: 14.96 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007265/0.2828, allocations: 106.9 kB / 0.9845 GB, free: 14.86 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.2839, allocations: 0.4902 MB / 0.985 GB, free: 14.32 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.2841, allocations: 158.8 kB / 0.9852 GB, free: 14.15 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001769/0.2843, allocations: 49.91 kB / 0.9852 GB, free: 14.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.052e-05/0.2843, allocations: 28.5 kB / 0.9852 GB, free: 14.07 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/0.2843, allocations: 0 / 0.9852 GB, free: 14.07 MB / 0.948 GB Notification: Performance of Templates: time 0.01323/0.2976, allocations: 5.714 MB / 0.9908 GB, free: 8.484 MB / 0.948 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 240] 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.956284541054629]