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.001676/0.001676, allocations: 110.2 kB / 15.99 MB, free: 6.367 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.001819/0.001819, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.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.543/2.543, allocations: 437 MB / 0.7107 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001288, allocations: 72.03 kB / 0.8694 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.349, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.8042/1.153, allocations: 159.3 MB / 1.173 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005952/1.159, allocations: 3.459 MB / 1.176 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006106/1.16, allocations: 9.406 kB / 1.176 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006721/1.161, allocations: 119.9 kB / 1.177 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/1.162, allocations: 424.6 kB / 1.177 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002151/1.164, allocations: 0.5448 MB / 1.177 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001146/1.166, allocations: 0.6252 MB / 1.178 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005164/1.166, allocations: 215.9 kB / 1.178 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002037/1.168, allocations: 354.6 kB / 1.179 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000474/1.169, allocations: 203.2 kB / 1.179 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.207e-05/1.169, allocations: 22.41 kB / 1.179 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/1.17, allocations: 0.562 MB / 1.179 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001852/1.17, allocations: 101 kB / 1.179 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002935/1.171, allocations: 143.8 kB / 1.18 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000886/1.172, allocations: 392.8 kB / 1.18 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.172, allocations: 4 kB / 1.18 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.854e-06/1.172, allocations: 0 / 1.18 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.215e-05/1.172, allocations: 1.281 kB / 1.18 GB, free: 9.766 MB / 0.8887 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.001442/1.173, allocations: 0.6294 MB / 1.181 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/1.173, allocations: 9.141 kB / 1.181 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006422/1.174, allocations: 83.38 kB / 1.181 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/1.174, allocations: 295.9 kB / 1.181 GB, free: 8.883 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/1.174, allocations: 20.62 kB / 1.181 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/1.174, allocations: 17.75 kB / 1.181 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007126/1.175, allocations: 313.7 kB / 1.181 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/1.175, allocations: 7.812 kB / 1.181 GB, free: 8.656 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/1.175, allocations: 10.16 kB / 1.181 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/1.175, allocations: 5.406 kB / 1.181 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006897/1.176, allocations: 253.5 kB / 1.182 GB, free: 8.531 MB / 0.8887 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.00191/1.178, allocations: 1.244 MB / 1.183 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/1.178, allocations: 175.5 kB / 1.183 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003156/1.179, allocations: 128.6 kB / 1.183 GB, free: 7.215 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006017/1.179, allocations: 299.2 kB / 1.183 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/1.179, allocations: 39.92 kB / 1.183 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=14): time 1.743e-06/1.179, allocations: 0 / 1.183 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of matching and sorting (n=14): time 0.002396/1.182, allocations: 0.5702 MB / 1.184 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/1.182, allocations: 53.66 kB / 1.184 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/1.182, allocations: 264 kB / 1.184 GB, free: 6.273 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/1.182, allocations: 26.95 kB / 1.184 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/1.182, allocations: 162.2 kB / 1.184 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.685e-05/1.182, allocations: 48.81 kB / 1.184 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.519e-05/1.182, allocations: 43.7 kB / 1.185 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.183, allocations: 340.5 kB / 1.185 GB, free: 5.68 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/1.183, allocations: 93.28 kB / 1.185 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/1.183, allocations: 141.2 kB / 1.185 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006306/1.184, allocations: 242 kB / 1.185 GB, free: 5.398 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.184, allocations: 1.5 kB / 1.185 GB, free: 5.398 MB / 0.8887 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001271/1.185, allocations: 347.8 kB / 1.186 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.185, allocations: 5.5 kB / 1.186 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/1.185, allocations: 2.312 kB / 1.186 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006824/1.186, allocations: 90.06 kB / 1.186 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/1.186, allocations: 46.03 kB / 1.186 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002852/1.189, allocations: 1.731 MB / 1.187 GB, free: 3.492 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/1.189, allocations: 35.19 kB / 1.188 GB, free: 3.473 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/1.189, allocations: 11.41 kB / 1.188 GB, free: 3.469 MB / 0.8887 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.0002075/1.19, allocations: 153.5 kB / 1.188 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.922e-05/1.19, allocations: 24.56 kB / 1.188 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/1.191, allocations: 364.7 kB / 1.188 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/1.191, allocations: 0 / 1.188 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/1.191, allocations: 2.375 kB / 1.188 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/1.191, allocations: 0 / 1.188 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/1.193, allocations: 0.7769 MB / 1.189 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.193, allocations: 3.938 kB / 1.189 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/1.193, allocations: 34.06 kB / 1.189 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004528/1.194, allocations: 80.36 kB / 1.189 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/1.194, allocations: 7.938 kB / 1.189 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/1.196, allocations: 1.741 MB / 1.191 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.196, allocations: 0 / 1.191 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/1.197, allocations: 458.1 kB / 1.191 GB, free: 464 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/1.197, allocations: 125.8 kB / 1.191 GB, free: 332 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/1.197, allocations: 6.953 kB / 1.191 GB, free: 328 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/1.197, allocations: 32.94 kB / 1.191 GB, free: 308 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/1.198, allocations: 15.44 kB / 1.191 GB, free: 300 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/1.198, allocations: 9.734 kB / 1.191 GB, free: 296 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001968/1.198, allocations: 187.4 kB / 1.191 GB, free: 168 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/1.198, allocations: 3.938 kB / 1.191 GB, free: 164 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005007/1.198, allocations: 89.27 kB / 1.192 GB, free: 140 kB / 0.8887 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.0004494/1.199, allocations: 160.3 kB / 1.192 GB, free: 20 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001085/1.2, allocations: 360.2 kB / 1.192 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.2, allocations: 5.875 kB / 1.192 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006159/1.201, allocations: 254.1 kB / 1.192 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007859/1.201, allocations: 123.9 kB / 1.192 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/1.202, allocations: 0.6227 MB / 1.193 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/1.203, allocations: 0.7716 MB / 1.194 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.99e-05/1.203, allocations: 24.94 kB / 1.194 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of SimCode: time 6.61e-07/1.203, allocations: 1.25 kB / 1.194 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of Templates: time 0.009217/1.212, allocations: 5.39 MB / 1.199 GB, free: 11.51 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches