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.006074/0.006074, allocations: 98.55 kB / 15.73 MB, free: 6.047 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.001358/0.001358, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.727/2.727, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 63.91 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3425, allocations: 151.6 MB / 1.167 GB, free: 6.754 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.9121/1.255, allocations: 161.5 MB / 1.324 GB, free: 7.465 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005424/1.26, allocations: 3.483 MB / 1.328 GB, free: 5.164 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000427/1.261, allocations: 14.19 kB / 1.328 GB, free: 5.156 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005288/1.261, allocations: 138.6 kB / 1.328 GB, free: 5.059 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001343/1.263, allocations: 475.1 kB / 1.328 GB, free: 4.809 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002039/1.265, allocations: 0.6028 MB / 1.329 GB, free: 4.512 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000859/1.265, allocations: 0.6226 MB / 1.33 GB, free: 4.234 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004271/1.266, allocations: 226.6 kB / 1.33 GB, free: 4.145 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/1.267, allocations: 356.5 kB / 1.33 GB, free: 4.008 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003173/1.268, allocations: 199.9 kB / 1.33 GB, free: 3.918 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.373e-05/1.268, allocations: 22.59 kB / 1.33 GB, free: 3.918 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/1.269, allocations: 0.5545 MB / 1.331 GB, free: 3.703 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/1.269, allocations: 97.81 kB / 1.331 GB, free: 3.66 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000192/1.269, allocations: 142.3 kB / 1.331 GB, free: 3.578 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009589/1.27, allocations: 0.548 MB / 1.332 GB, free: 3.395 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.27, allocations: 0.6094 kB / 1.332 GB, free: 3.395 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.383e-06/1.27, allocations: 4 kB / 1.332 GB, free: 3.391 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.963e-06/1.27, allocations: 1.031 kB / 1.332 GB, free: 3.391 MB / 1.014 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.001051/1.271, allocations: 0.6469 MB / 1.332 GB, free: 2.863 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/1.271, allocations: 9.438 kB / 1.332 GB, free: 2.863 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005249/1.272, allocations: 80.66 kB / 1.332 GB, free: 2.836 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/1.272, allocations: 305 kB / 1.333 GB, free: 2.574 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/1.273, allocations: 17.03 kB / 1.333 GB, free: 2.562 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.196e-05/1.273, allocations: 22.45 kB / 1.333 GB, free: 2.555 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006735/1.273, allocations: 308.5 kB / 1.333 GB, free: 2.414 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.273, allocations: 0 / 1.333 GB, free: 2.414 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/1.273, allocations: 6.688 kB / 1.333 GB, free: 2.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/1.273, allocations: 8.812 kB / 1.333 GB, free: 2.406 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006685/1.274, allocations: 257.7 kB / 1.333 GB, free: 2.336 MB / 1.014 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.0016/1.276, allocations: 1.251 MB / 1.334 GB, free: 1.312 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/1.276, allocations: 174.1 kB / 1.335 GB, free: 1.246 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/1.276, allocations: 120.2 kB / 1.335 GB, free: 1.211 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006172/1.277, allocations: 306.8 kB / 1.335 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/1.277, allocations: 36.84 kB / 1.335 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/1.277, allocations: 0 / 1.335 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.002272/1.279, allocations: 0.5769 MB / 1.336 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/1.279, allocations: 53.41 kB / 1.336 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/1.28, allocations: 263.6 kB / 1.336 GB, free: 424 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/1.28, allocations: 27.11 kB / 1.336 GB, free: 392 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/1.28, allocations: 169.5 kB / 1.336 GB, free: 244 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/1.28, allocations: 47.92 kB / 1.336 GB, free: 204 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/1.28, allocations: 39.84 kB / 1.336 GB, free: 176 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.28, allocations: 339.9 kB / 1.337 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/1.28, allocations: 91.64 kB / 1.337 GB, free: 15.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/1.281, allocations: 143.4 kB / 1.337 GB, free: 15.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005545/1.281, allocations: 241.2 kB / 1.337 GB, free: 15.64 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.281, allocations: 1.156 kB / 1.337 GB, free: 15.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001089/1.282, allocations: 350.3 kB / 1.337 GB, free: 15.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.282, allocations: 5.656 kB / 1.337 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/1.282, allocations: 2.375 kB / 1.337 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005631/1.283, allocations: 88.8 kB / 1.337 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/1.283, allocations: 43.97 kB / 1.337 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/1.285, allocations: 1.738 MB / 1.339 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/1.286, allocations: 27.5 kB / 1.339 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/1.286, allocations: 11.62 kB / 1.339 GB, free: 13.93 MB / 1.029 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.0001692/1.286, allocations: 149.1 kB / 1.339 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/1.286, allocations: 22.02 kB / 1.339 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/1.287, allocations: 368.8 kB / 1.34 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.287, allocations: 1.531 kB / 1.34 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/1.287, allocations: 0 / 1.34 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.287, allocations: 2.203 kB / 1.34 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/1.289, allocations: 0.7757 MB / 1.34 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.289, allocations: 5.344 kB / 1.34 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/1.289, allocations: 38.53 kB / 1.34 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000415/1.29, allocations: 74.8 kB / 1.341 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/1.29, allocations: 10.19 kB / 1.341 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/1.291, allocations: 1.728 MB / 1.342 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.292, allocations: 5.094 kB / 1.342 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/1.293, allocations: 463.3 kB / 1.343 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/1.293, allocations: 128.9 kB / 1.343 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/1.293, allocations: 1.406 kB / 1.343 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/1.293, allocations: 38.53 kB / 1.343 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.134e-05/1.293, allocations: 14.91 kB / 1.343 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/1.293, allocations: 7.672 kB / 1.343 GB, free: 11.19 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001704/1.293, allocations: 184.5 kB / 1.343 GB, free: 11.08 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.1e-07/1.293, allocations: 0 / 1.343 GB, free: 11.08 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004534/1.294, allocations: 84.27 kB / 1.343 GB, free: 11.07 MB / 1.029 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.0003578/1.294, allocations: 173.6 kB / 1.343 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009773/1.295, allocations: 369.1 kB / 1.344 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/1.295, allocations: 0 / 1.344 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005611/1.296, allocations: 250 kB / 1.344 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007245/1.297, allocations: 122.7 kB / 1.344 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008397/1.297, allocations: 0.5012 MB / 1.345 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/1.298, allocations: 0.7715 MB / 1.345 GB, free: 9.562 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001761/1.298, allocations: 57.22 kB / 1.345 GB, free: 9.551 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/1.298, allocations: 24.53 kB / 1.345 GB, free: 9.539 MB / 1.029 GB Notification: Performance of SimCode: time 1.463e-06/1.298, allocations: 1.219 kB / 1.345 GB, free: 9.539 MB / 1.029 GB Notification: Performance of Templates: time 0.01044/1.308, allocations: 5.99 MB / 1.351 GB, free: 8.578 MB / 1.029 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