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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00108/0.00108, allocations: 86.36 kB / 15.06 MB, free: 1.082 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.001417/0.001417, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003627, allocations: 12 kB / 0.8722 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5921/0.5925, allocations: 153.8 MB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1494/0.742, allocations: 146.6 MB / 1.166 GB, free: 12.93 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004115/0.7461, allocations: 3.263 MB / 1.169 GB, free: 9.656 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.7463, allocations: 7.938 kB / 1.169 GB, free: 9.648 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.7467, allocations: 99.22 kB / 1.169 GB, free: 9.551 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0008038/0.7475, allocations: 338.3 kB / 1.169 GB, free: 9.219 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.7486, allocations: 470.5 kB / 1.17 GB, free: 8.762 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000703/0.7493, allocations: 0.6945 MB / 1.17 GB, free: 8.062 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002955/0.7496, allocations: 180.4 kB / 1.171 GB, free: 7.883 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005608/0.7502, allocations: 299 kB / 1.171 GB, free: 7.59 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.7504, allocations: 179.2 kB / 1.171 GB, free: 7.414 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.7505, allocations: 12 kB / 1.171 GB, free: 7.402 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006168/0.7511, allocations: 319.3 kB / 1.171 GB, free: 7.09 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.887e-05/0.7512, allocations: 79.7 kB / 1.171 GB, free: 7.012 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.429e-05/0.7513, allocations: 77.58 kB / 1.171 GB, free: 6.93 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.7517, allocations: 355.2 kB / 1.172 GB, free: 6.582 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7517, allocations: 3.938 kB / 1.172 GB, free: 6.578 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.213e-06/0.7517, allocations: 0 / 1.172 GB, free: 6.578 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.7517, allocations: 4 kB / 1.172 GB, free: 6.574 MB / 0.92 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.0009078/0.7527, allocations: 0.6 MB / 1.172 GB, free: 5.926 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.7527, allocations: 8.031 kB / 1.172 GB, free: 5.918 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004734/0.7532, allocations: 71.56 kB / 1.172 GB, free: 5.848 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.7535, allocations: 281.6 kB / 1.173 GB, free: 5.535 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.7535, allocations: 20.44 kB / 1.173 GB, free: 5.516 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.7536, allocations: 20 kB / 1.173 GB, free: 5.496 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006187/0.7542, allocations: 332.1 kB / 1.173 GB, free: 5.148 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.7542, allocations: 3.938 kB / 1.173 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.7543, allocations: 8 kB / 1.173 GB, free: 5.137 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.7543, allocations: 8 kB / 1.173 GB, free: 5.129 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006393/0.7549, allocations: 276.9 kB / 1.173 GB, free: 4.859 MB / 0.92 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.001486/0.7564, allocations: 1.264 MB / 1.175 GB, free: 3.484 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.7568, allocations: 186.5 kB / 1.175 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.7572, allocations: 152.6 kB / 1.175 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005556/0.7577, allocations: 311.2 kB / 1.175 GB, free: 2.781 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.7578, allocations: 38.56 kB / 1.175 GB, free: 2.734 MB / 0.92 GB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.7578, allocations: 0 / 1.175 GB, free: 2.734 MB / 0.92 GB Notification: Performance of matching and sorting (n=14): time 0.002071/0.7598, allocations: 0.6235 MB / 1.176 GB, free: 2.086 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.7599, allocations: 55.41 kB / 1.176 GB, free: 2.02 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.7601, allocations: 259 kB / 1.176 GB, free: 1.758 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.7602, allocations: 33.7 kB / 1.176 GB, free: 1.719 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.7603, allocations: 156.2 kB / 1.176 GB, free: 1.562 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.7603, allocations: 51.36 kB / 1.176 GB, free: 1.512 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.7604, allocations: 0 / 1.176 GB, free: 1.512 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.7605, allocations: 334.8 kB / 1.177 GB, free: 1.176 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.7608, allocations: 111.9 kB / 1.177 GB, free: 1.066 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/0.7611, allocations: 156.1 kB / 1.177 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.7614, allocations: 120 kB / 1.177 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7614, allocations: 0 / 1.177 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001093/0.7625, allocations: 385.8 kB / 1.177 GB, free: 404 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.7625, allocations: 10.19 kB / 1.177 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.7625, allocations: 0 / 1.177 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005464/0.7631, allocations: 96.81 kB / 1.178 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.7633, allocations: 47.97 kB / 1.178 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.7654, allocations: 1.61 MB / 1.179 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.7657, allocations: 43.81 kB / 1.179 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.7657, allocations: 7.938 kB / 1.179 GB, free: 14.45 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.7659, allocations: 153.8 kB / 1.179 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.7659, allocations: 31.56 kB / 1.179 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.7671, allocations: 400 kB / 1.18 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.7671, allocations: 0 / 1.18 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.7671, allocations: 0 / 1.18 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.7671, allocations: 3.984 kB / 1.18 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.7687, allocations: 0.802 MB / 1.181 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.7687, allocations: 3.984 kB / 1.181 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.7689, allocations: 39.97 kB / 1.181 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004712/0.7694, allocations: 100.7 kB / 1.181 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.7694, allocations: 8 kB / 1.181 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/0.7711, allocations: 1.625 MB / 1.182 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7711, allocations: 0 / 1.182 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.7723, allocations: 494.3 kB / 1.183 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.7724, allocations: 116.8 kB / 1.183 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.7724, allocations: 7.984 kB / 1.183 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.7727, allocations: 36.03 kB / 1.183 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.7728, allocations: 23.94 kB / 1.183 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.7728, allocations: 7.984 kB / 1.183 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001569/0.773, allocations: 189.9 kB / 1.183 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.773, allocations: 0 / 1.183 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004008/0.7734, allocations: 79.84 kB / 1.183 GB, free: 10.08 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000327/0.7737, allocations: 154.5 kB / 1.183 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009107/0.7746, allocations: 394.6 kB / 1.184 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7746, allocations: 0 / 1.184 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005573/0.7752, allocations: 274.7 kB / 1.184 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007002/0.7759, allocations: 124.1 kB / 1.184 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000849/0.7768, allocations: 0.628 MB / 1.185 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.7771, allocations: 0.7713 MB / 1.185 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002037/0.7773, allocations: 50.27 kB / 1.186 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.7774, allocations: 19.44 kB / 1.186 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.7774, allocations: 0 / 1.186 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of Templates: time 0.01325/0.7906, allocations: 5.35 MB / 1.191 GB, free: 2.328 MB / 0.9356 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=480 -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