Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001904/0.001904, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002279/0.002279, allocations: 194.5 kB / 16.14 MB, free: 6.629 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.506/1.506, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.9/2.9, allocations: 437 MB / 0.7099 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003082/0.003082, allocations: 71.91 kB / 0.8686 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7038/0.7069, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1926/0.8995, allocations: 159.3 MB / 1.172 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005548/0.9051, allocations: 3.515 MB / 1.176 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003786/0.9055, allocations: 11.94 kB / 1.176 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005181/0.9061, allocations: 103.3 kB / 1.176 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.9074, allocations: 426.2 kB / 1.176 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.9091, allocations: 0.5413 MB / 1.177 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001009/0.9101, allocations: 0.8116 MB / 1.177 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000361/0.9105, allocations: 196.6 kB / 1.178 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/0.9122, allocations: 308.1 kB / 1.178 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.9126, allocations: 195.2 kB / 1.178 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.877e-05/0.9126, allocations: 19.94 kB / 1.178 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.9139, allocations: 0.6274 MB / 1.179 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.914, allocations: 87.7 kB / 1.179 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.9142, allocations: 139.2 kB / 1.179 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008855/0.9151, allocations: 0.5648 MB / 1.179 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9151, allocations: 4 kB / 1.179 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.51e-07/0.9151, allocations: 0 / 1.179 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.9151, allocations: 0 / 1.179 GB, free: 11.42 MB / 0.9356 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.00129/0.9164, allocations: 0.635 MB / 1.18 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.9165, allocations: 12.03 kB / 1.18 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005614/0.917, allocations: 75.5 kB / 1.18 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.9175, allocations: 289.4 kB / 1.18 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.9175, allocations: 20.38 kB / 1.18 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.9176, allocations: 27.94 kB / 1.181 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.9183, allocations: 308.2 kB / 1.181 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.9183, allocations: 3.984 kB / 1.181 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.9184, allocations: 12 kB / 1.181 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.9184, allocations: 7.938 kB / 1.181 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007095/0.9191, allocations: 244.8 kB / 1.181 GB, free: 9.695 MB / 0.9356 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.001933/0.921, allocations: 1.252 MB / 1.182 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004917/0.9215, allocations: 178.5 kB / 1.182 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.9219, allocations: 120.8 kB / 1.183 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006865/0.9226, allocations: 303.2 kB / 1.183 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.9226, allocations: 38.56 kB / 1.183 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 5.491e-06/0.9226, allocations: 3.984 kB / 1.183 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.002544/0.9252, allocations: 0.577 MB / 1.183 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.9253, allocations: 51.41 kB / 1.184 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.9256, allocations: 259 kB / 1.184 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.9256, allocations: 33.7 kB / 1.184 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.9258, allocations: 156.2 kB / 1.184 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.698e-05/0.9259, allocations: 47.36 kB / 1.184 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.14e-05/0.9259, allocations: 37.61 kB / 1.184 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.9262, allocations: 334.8 kB / 1.184 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/0.9265, allocations: 99.91 kB / 1.184 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.9269, allocations: 137.2 kB / 1.185 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006408/0.9275, allocations: 240.1 kB / 1.185 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.9275, allocations: 4 kB / 1.185 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001312/0.9289, allocations: 351 kB / 1.185 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.9289, allocations: 8 kB / 1.185 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.9289, allocations: 0 / 1.185 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007294/0.9296, allocations: 92.88 kB / 1.185 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.9299, allocations: 35.97 kB / 1.185 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/0.9326, allocations: 1.609 MB / 1.187 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.933, allocations: 35.88 kB / 1.187 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.933, allocations: 15.94 kB / 1.187 GB, free: 3.289 MB / 0.9356 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.000192/0.9332, allocations: 145.8 kB / 1.187 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/0.9333, allocations: 27.89 kB / 1.187 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.9345, allocations: 365.1 kB / 1.187 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.9346, allocations: 7.984 kB / 1.187 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.9346, allocations: 7.938 kB / 1.187 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.9346, allocations: 3.984 kB / 1.187 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.9365, allocations: 0.7629 MB / 1.188 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.9365, allocations: 8 kB / 1.188 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.9367, allocations: 47.98 kB / 1.188 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000549/0.9373, allocations: 80.77 kB / 1.188 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.9373, allocations: 8 kB / 1.188 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002272/0.9396, allocations: 1.617 MB / 1.19 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.9396, allocations: 0 / 1.19 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.9409, allocations: 462.3 kB / 1.19 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.9411, allocations: 128.6 kB / 1.19 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.9411, allocations: 3.984 kB / 1.19 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.9414, allocations: 31.97 kB / 1.19 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/0.9415, allocations: 19.92 kB / 1.191 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.9415, allocations: 4 kB / 1.191 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001939/0.9417, allocations: 186 kB / 1.191 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9417, allocations: 0 / 1.191 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004728/0.9422, allocations: 91.77 kB / 1.191 GB, free: 15.04 MB / 0.9512 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.0004285/0.9427, allocations: 168.2 kB / 1.191 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.9438, allocations: 362.3 kB / 1.191 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9438, allocations: 4.25 kB / 1.191 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006918/0.9445, allocations: 254.5 kB / 1.192 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008255/0.9453, allocations: 112.9 kB / 1.192 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.9464, allocations: 0.5864 MB / 1.192 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.9469, allocations: 0.7791 MB / 1.193 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002491/0.9472, allocations: 66.28 kB / 1.193 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.994e-05/0.9472, allocations: 19.44 kB / 1.193 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of SimCode: time 8.92e-07/0.9472, allocations: 0 / 1.193 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of Templates: time 0.0118/0.959, allocations: 5.519 MB / 1.198 GB, free: 7.176 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches