Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001395/0.001395, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001426/0.001425, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 63.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9124/0.914, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2271/1.141, allocations: 161.5 MB / 1.246 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006181/1.147, allocations: 3.493 MB / 1.25 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005753/1.148, allocations: 11.94 kB / 1.25 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006366/1.149, allocations: 135 kB / 1.25 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001764/1.15, allocations: 449.9 kB / 1.25 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002327/1.153, allocations: 0.5991 MB / 1.251 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001121/1.154, allocations: 0.6244 MB / 1.252 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005662/1.155, allocations: 228.7 kB / 1.252 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/1.156, allocations: 353 kB / 1.252 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000442/1.157, allocations: 195.2 kB / 1.252 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.451e-05/1.157, allocations: 23.94 kB / 1.252 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/1.158, allocations: 0.5456 MB / 1.253 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001655/1.158, allocations: 99.72 kB / 1.253 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002239/1.158, allocations: 151.2 kB / 1.253 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001291/1.16, allocations: 0.555 MB / 1.254 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.16, allocations: 0 / 1.254 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/1.16, allocations: 4 kB / 1.254 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.146e-05/1.16, allocations: 0 / 1.254 GB, free: 4.777 MB / 0.9825 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.001282/1.161, allocations: 0.6272 MB / 1.254 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/1.161, allocations: 8.031 kB / 1.254 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005851/1.162, allocations: 79.52 kB / 1.254 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/1.162, allocations: 309.2 kB / 1.255 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/1.162, allocations: 16.38 kB / 1.255 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/1.162, allocations: 28 kB / 1.255 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000686/1.163, allocations: 304.2 kB / 1.255 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.163, allocations: 0 / 1.255 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/1.163, allocations: 8 kB / 1.255 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/1.163, allocations: 11.94 kB / 1.255 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006729/1.164, allocations: 252.8 kB / 1.255 GB, free: 3.047 MB / 0.9825 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.00172/1.166, allocations: 1.24 MB / 1.256 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/1.166, allocations: 174.5 kB / 1.257 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/1.166, allocations: 120.8 kB / 1.257 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005719/1.167, allocations: 311.2 kB / 1.257 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/1.167, allocations: 30.56 kB / 1.257 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/1.167, allocations: 0 / 1.257 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.00225/1.169, allocations: 0.577 MB / 1.258 GB, free: 400 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/1.169, allocations: 55.41 kB / 1.258 GB, free: 332 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/1.17, allocations: 255 kB / 1.258 GB, free: 68 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/1.17, allocations: 29.7 kB / 1.258 GB, free: 32 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/1.17, allocations: 164.2 kB / 1.258 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/1.17, allocations: 47.25 kB / 1.258 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-05/1.17, allocations: 37.72 kB / 1.258 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.17, allocations: 334.8 kB / 1.258 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/1.17, allocations: 99.91 kB / 1.259 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/1.171, allocations: 138 kB / 1.259 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005883/1.171, allocations: 232.1 kB / 1.259 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.171, allocations: 4 kB / 1.259 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001156/1.172, allocations: 357 kB / 1.259 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.172, allocations: 4 kB / 1.259 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/1.172, allocations: 11.98 kB / 1.259 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005893/1.173, allocations: 88.88 kB / 1.259 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/1.173, allocations: 43.91 kB / 1.259 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/1.175, allocations: 1.727 MB / 1.261 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/1.176, allocations: 35.75 kB / 1.261 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/1.176, allocations: 4 kB / 1.261 GB, free: 12.54 MB / 0.9981 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.0001796/1.176, allocations: 145.8 kB / 1.261 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/1.176, allocations: 19.72 kB / 1.261 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/1.177, allocations: 375.9 kB / 1.262 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.177, allocations: 192 / 1.262 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/1.177, allocations: 0 / 1.262 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/1.177, allocations: 7.984 kB / 1.262 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/1.179, allocations: 0.7668 MB / 1.262 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/1.179, allocations: 4.094 kB / 1.262 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/1.179, allocations: 43.91 kB / 1.262 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004445/1.18, allocations: 76.77 kB / 1.262 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/1.18, allocations: 11.94 kB / 1.263 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/1.182, allocations: 1.735 MB / 1.264 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.182, allocations: 3.938 kB / 1.264 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/1.183, allocations: 454.4 kB / 1.265 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/1.183, allocations: 120.8 kB / 1.265 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/1.183, allocations: 4 kB / 1.265 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/1.183, allocations: 31.91 kB / 1.265 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/1.183, allocations: 19.97 kB / 1.265 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/1.183, allocations: 8 kB / 1.265 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001929/1.183, allocations: 186 kB / 1.265 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/1.183, allocations: 0 / 1.265 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004472/1.184, allocations: 79.84 kB / 1.265 GB, free: 8.195 MB / 0.9981 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.0004411/1.184, allocations: 178.8 kB / 1.265 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001029/1.185, allocations: 358.6 kB / 1.266 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.185, allocations: 4 kB / 1.266 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006024/1.186, allocations: 250.5 kB / 1.266 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007369/1.187, allocations: 117 kB / 1.266 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/1.188, allocations: 0.5265 MB / 1.266 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/1.188, allocations: 0.7714 MB / 1.267 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.599e-05/1.188, allocations: 23.44 kB / 1.267 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/1.188, allocations: 4 kB / 1.267 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of Templates: time 0.00927/1.198, allocations: 5.399 MB / 1.273 GB, free: 0.5234 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches