Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001545/0.001545, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001725/0.001725, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.48/2.48, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 67.98 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3185, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.8438/1.162, allocations: 161.5 MB / 1.184 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005805/1.168, allocations: 3.492 MB / 1.188 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004311/1.169, allocations: 15.09 kB / 1.188 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005644/1.169, allocations: 132.7 kB / 1.188 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001441/1.171, allocations: 454.2 kB / 1.188 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/1.173, allocations: 0.5964 MB / 1.189 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008515/1.174, allocations: 0.6308 MB / 1.19 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004062/1.174, allocations: 222.5 kB / 1.19 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/1.175, allocations: 352 kB / 1.19 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/1.176, allocations: 187.1 kB / 1.19 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.747e-05/1.176, allocations: 21.75 kB / 1.19 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/1.177, allocations: 0.5529 MB / 1.191 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/1.177, allocations: 99.58 kB / 1.191 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001955/1.177, allocations: 144.2 kB / 1.191 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001014/1.178, allocations: 0.5541 MB / 1.192 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.178, allocations: 4 kB / 1.192 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.134e-06/1.178, allocations: 0 / 1.192 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.185e-06/1.178, allocations: 1.281 kB / 1.192 GB, free: 12.95 MB / 0.9044 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.001181/1.18, allocations: 0.6232 MB / 1.192 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/1.18, allocations: 18.81 kB / 1.192 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005946/1.18, allocations: 74.28 kB / 1.192 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/1.181, allocations: 302.7 kB / 1.193 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/1.181, allocations: 22.34 kB / 1.193 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/1.181, allocations: 20.5 kB / 1.193 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006822/1.182, allocations: 312.7 kB / 1.193 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/1.182, allocations: 4 kB / 1.193 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/1.182, allocations: 10.12 kB / 1.193 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/1.182, allocations: 5.562 kB / 1.193 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006507/1.182, allocations: 250.5 kB / 1.193 GB, free: 11.71 MB / 0.9044 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.001632/1.184, allocations: 1.243 MB / 1.194 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004333/1.184, allocations: 167.2 kB / 1.195 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/1.185, allocations: 132 kB / 1.195 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006072/1.185, allocations: 293.9 kB / 1.195 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/1.185, allocations: 41.25 kB / 1.195 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 2.455e-06/1.185, allocations: 4 kB / 1.195 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.0023/1.188, allocations: 0.5796 MB / 1.196 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/1.188, allocations: 52.78 kB / 1.196 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/1.188, allocations: 267.9 kB / 1.196 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/1.188, allocations: 26.86 kB / 1.196 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/1.188, allocations: 162 kB / 1.196 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/1.188, allocations: 49.77 kB / 1.196 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/1.188, allocations: 39.61 kB / 1.196 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.188, allocations: 336.3 kB / 1.197 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/1.189, allocations: 89.77 kB / 1.197 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/1.189, allocations: 139.6 kB / 1.197 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/1.19, allocations: 236 kB / 1.197 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.19, allocations: 1.219 kB / 1.197 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001113/1.191, allocations: 350.8 kB / 1.197 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.191, allocations: 5.188 kB / 1.197 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.191, allocations: 2.906 kB / 1.197 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000586/1.191, allocations: 85.42 kB / 1.197 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/1.192, allocations: 54.3 kB / 1.197 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/1.194, allocations: 1.723 MB / 1.199 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/1.194, allocations: 33.75 kB / 1.199 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/1.194, allocations: 5.438 kB / 1.199 GB, free: 6.664 MB / 0.9044 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.0001917/1.195, allocations: 157.2 kB / 1.199 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/1.195, allocations: 22.28 kB / 1.199 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/1.196, allocations: 370.9 kB / 1.2 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.196, allocations: 6.641 kB / 1.2 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/1.196, allocations: 0 / 1.2 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.196, allocations: 0 / 1.2 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/1.197, allocations: 0.7747 MB / 1.2 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.197, allocations: 1.969 kB / 1.2 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/1.198, allocations: 32 kB / 1.201 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004164/1.198, allocations: 80.23 kB / 1.201 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/1.198, allocations: 10.19 kB / 1.201 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/1.2, allocations: 1.742 MB / 1.202 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/1.2, allocations: 2.719 kB / 1.202 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/1.201, allocations: 455.6 kB / 1.203 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/1.201, allocations: 124.8 kB / 1.203 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/1.201, allocations: 6.656 kB / 1.203 GB, free: 3.504 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/1.201, allocations: 26.28 kB / 1.203 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/1.202, allocations: 19.5 kB / 1.203 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/1.202, allocations: 5.562 kB / 1.203 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001765/1.202, allocations: 191.4 kB / 1.203 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.202, allocations: 0 / 1.203 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004688/1.202, allocations: 77.31 kB / 1.203 GB, free: 3.336 MB / 0.9044 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.0004356/1.203, allocations: 171.1 kB / 1.203 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009734/1.204, allocations: 355.6 kB / 1.204 GB, free: 2.992 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.204, allocations: 0 / 1.204 GB, free: 2.992 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000561/1.204, allocations: 251.7 kB / 1.204 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006823/1.205, allocations: 135.9 kB / 1.204 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/1.206, allocations: 0.5042 MB / 1.205 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/1.206, allocations: 0.7734 MB / 1.205 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002/1.207, allocations: 49.91 kB / 1.205 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/1.207, allocations: 21.31 kB / 1.205 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of SimCode: time 4.61e-07/1.207, allocations: 7.938 kB / 1.205 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of Templates: time 0.0118/1.219, allocations: 5.939 MB / 1.211 GB, free: 14.64 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches