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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00155/0.00155, allocations: 109.6 kB / 16.37 MB, free: 6.477 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.001673/0.001673, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.267/2.267, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 64.5 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3019, allocations: 140.4 MB / 0.9511 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.7508/1.053, allocations: 161.5 MB / 1.109 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00533/1.058, allocations: 3.491 MB / 1.112 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000489/1.059, allocations: 11.44 kB / 1.112 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005372/1.059, allocations: 133.6 kB / 1.112 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001555/1.061, allocations: 449.4 kB / 1.113 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001889/1.063, allocations: 0.6043 MB / 1.113 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001097/1.064, allocations: 0.6204 MB / 1.114 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004837/1.064, allocations: 231.9 kB / 1.114 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/1.066, allocations: 340.4 kB / 1.115 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003392/1.066, allocations: 199.8 kB / 1.115 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/1.066, allocations: 22.28 kB / 1.115 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/1.067, allocations: 0.549 MB / 1.115 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001321/1.067, allocations: 99.73 kB / 1.115 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001716/1.068, allocations: 141.3 kB / 1.116 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009154/1.068, allocations: 0.5518 MB / 1.116 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.069, allocations: 7.938 kB / 1.116 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.502e-06/1.069, allocations: 3.5 kB / 1.116 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.502e-06/1.069, allocations: 0 / 1.116 GB, free: 5.617 MB / 0.8575 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.001219/1.07, allocations: 0.6321 MB / 1.117 GB, free: 21.15 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/1.07, allocations: 10.3 kB / 1.117 GB, free: 21.15 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005393/1.07, allocations: 80.72 kB / 1.117 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/1.071, allocations: 304.6 kB / 1.117 GB, free: 20.9 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/1.071, allocations: 20.66 kB / 1.117 GB, free: 20.9 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/1.071, allocations: 20.69 kB / 1.117 GB, free: 20.9 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006483/1.072, allocations: 308 kB / 1.117 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/1.072, allocations: 1.375 kB / 1.117 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/1.072, allocations: 13.33 kB / 1.117 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/1.072, allocations: 6.234 kB / 1.117 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006687/1.072, allocations: 249.1 kB / 1.118 GB, free: 20.81 MB / 0.8731 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.001812/1.074, allocations: 1.238 MB / 1.119 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/1.075, allocations: 174.3 kB / 1.119 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/1.075, allocations: 128 kB / 1.119 GB, free: 19.92 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005939/1.076, allocations: 301.3 kB / 1.119 GB, free: 19.64 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/1.076, allocations: 36.05 kB / 1.119 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.854e-06/1.076, allocations: 0 / 1.119 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.00229/1.078, allocations: 0.5766 MB / 1.12 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/1.078, allocations: 58.14 kB / 1.12 GB, free: 19.37 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/1.078, allocations: 259.5 kB / 1.12 GB, free: 19.26 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/1.078, allocations: 28.06 kB / 1.12 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/1.078, allocations: 164.5 kB / 1.121 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/1.078, allocations: 48.12 kB / 1.121 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-05/1.078, allocations: 43.62 kB / 1.121 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.079, allocations: 331.4 kB / 1.121 GB, free: 18.76 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/1.079, allocations: 96.28 kB / 1.121 GB, free: 18.76 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/1.079, allocations: 139.3 kB / 1.121 GB, free: 18.72 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005729/1.08, allocations: 234.8 kB / 1.121 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.08, allocations: 1.156 kB / 1.121 GB, free: 18.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001187/1.081, allocations: 354.5 kB / 1.122 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.081, allocations: 4.688 kB / 1.122 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.081, allocations: 2 kB / 1.122 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000644/1.082, allocations: 90.3 kB / 1.122 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/1.082, allocations: 39.22 kB / 1.122 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/1.084, allocations: 1.742 MB / 1.124 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/1.085, allocations: 30.67 kB / 1.124 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/1.085, allocations: 7.438 kB / 1.124 GB, free: 17.19 MB / 0.8731 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.0001894/1.085, allocations: 144.5 kB / 1.124 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/1.085, allocations: 26.47 kB / 1.124 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/1.086, allocations: 366.8 kB / 1.124 GB, free: 17 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.086, allocations: 3.594 kB / 1.124 GB, free: 17 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.086, allocations: 2.906 kB / 1.124 GB, free: 17 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/1.086, allocations: 0.8906 kB / 1.124 GB, free: 17 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/1.088, allocations: 0.7743 MB / 1.125 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/1.088, allocations: 2.266 kB / 1.125 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/1.088, allocations: 33.7 kB / 1.125 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004303/1.089, allocations: 87.16 kB / 1.125 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/1.089, allocations: 7.141 kB / 1.125 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/1.091, allocations: 1.734 MB / 1.127 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.091, allocations: 8.438 kB / 1.127 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/1.092, allocations: 450.2 kB / 1.127 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001539/1.092, allocations: 127 kB / 1.127 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/1.092, allocations: 2.844 kB / 1.127 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/1.092, allocations: 33.27 kB / 1.127 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/1.092, allocations: 19.58 kB / 1.127 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/1.092, allocations: 8.891 kB / 1.127 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000178/1.092, allocations: 183 kB / 1.127 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.092, allocations: 0 / 1.127 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004852/1.093, allocations: 82.91 kB / 1.128 GB, free: 14.87 MB / 0.8731 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.0003793/1.093, allocations: 174.9 kB / 1.128 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009898/1.094, allocations: 368.1 kB / 1.128 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.094, allocations: 5.141 kB / 1.128 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005659/1.095, allocations: 249.1 kB / 1.128 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006942/1.096, allocations: 125.7 kB / 1.128 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009264/1.097, allocations: 0.4959 MB / 1.129 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/1.097, allocations: 0.7713 MB / 1.13 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001897/1.097, allocations: 57.14 kB / 1.13 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/1.097, allocations: 21.23 kB / 1.13 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/1.097, allocations: 1.469 kB / 1.13 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of Templates: time 0.01114/1.108, allocations: 5.941 MB / 1.136 GB, free: 13.19 MB / 0.8731 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 -s cvode -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