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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001959/0.001959, allocations: 100.2 kB / 16.35 MB, free: 5.879 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.00227/0.00227, allocations: 198 kB / 17.3 MB, free: 5.52 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.487/1.487, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 64.56 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3358, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.916/1.252, allocations: 161.5 MB / 1.176 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005345/1.257, allocations: 3.5 MB / 1.18 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000455/1.258, allocations: 10.31 kB / 1.18 GB, free: 9.453 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000487/1.258, allocations: 129.5 kB / 1.18 GB, free: 9.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001324/1.26, allocations: 458.3 kB / 1.18 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/1.261, allocations: 0.5923 MB / 1.181 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007598/1.262, allocations: 0.6305 MB / 1.182 GB, free: 8.191 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003818/1.262, allocations: 225.8 kB / 1.182 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/1.264, allocations: 343.4 kB / 1.182 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/1.264, allocations: 193.8 kB / 1.182 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.675e-05/1.264, allocations: 25.88 kB / 1.182 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/1.265, allocations: 0.5492 MB / 1.183 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/1.265, allocations: 104.1 kB / 1.183 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001726/1.265, allocations: 140 kB / 1.183 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0008904/1.266, allocations: 0.5502 MB / 1.184 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/1.266, allocations: 3.938 kB / 1.184 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.92e-07/1.266, allocations: 0 / 1.184 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.143e-06/1.266, allocations: 1.531 kB / 1.184 GB, free: 6.945 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.001035/1.267, allocations: 0.6323 MB / 1.184 GB, free: 6.387 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/1.267, allocations: 14.52 kB / 1.184 GB, free: 6.383 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005196/1.268, allocations: 79.25 kB / 1.184 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/1.268, allocations: 310.8 kB / 1.185 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/1.268, allocations: 16.69 kB / 1.185 GB, free: 6.043 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/1.269, allocations: 20.38 kB / 1.185 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000624/1.269, allocations: 305.1 kB / 1.185 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/1.269, allocations: 13.33 kB / 1.185 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/1.269, allocations: 10.56 kB / 1.185 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/1.269, allocations: 4.188 kB / 1.185 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006391/1.27, allocations: 254 kB / 1.185 GB, free: 5.703 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.001651/1.272, allocations: 1.243 MB / 1.187 GB, free: 4.551 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/1.272, allocations: 168.4 kB / 1.187 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/1.272, allocations: 123.4 kB / 1.187 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005945/1.273, allocations: 302.9 kB / 1.187 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/1.273, allocations: 36 kB / 1.187 GB, free: 4.047 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/1.273, allocations: 4 kB / 1.187 GB, free: 4.043 MB / 0.8887 GB Notification: Performance of matching and sorting (n=14): time 0.00223/1.275, allocations: 0.5704 MB / 1.188 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/1.275, allocations: 57.83 kB / 1.188 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/1.276, allocations: 259.8 kB / 1.188 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/1.276, allocations: 26.89 kB / 1.188 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/1.276, allocations: 166.4 kB / 1.188 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/1.276, allocations: 49.52 kB / 1.188 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.263e-05/1.276, allocations: 38.98 kB / 1.188 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.276, allocations: 332.8 kB / 1.189 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/1.276, allocations: 94.12 kB / 1.189 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/1.277, allocations: 137.9 kB / 1.189 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/1.277, allocations: 243.2 kB / 1.189 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.277, allocations: 0 / 1.189 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001082/1.278, allocations: 351.2 kB / 1.189 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/1.278, allocations: 8.312 kB / 1.189 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/1.278, allocations: 128 / 1.189 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000605/1.279, allocations: 87.2 kB / 1.189 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/1.279, allocations: 48.84 kB / 1.19 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/1.281, allocations: 1.742 MB / 1.191 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/1.282, allocations: 28.73 kB / 1.191 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/1.282, allocations: 5.188 kB / 1.191 GB, free: 0.6562 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.0001705/1.282, allocations: 147.1 kB / 1.191 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/1.282, allocations: 26.28 kB / 1.191 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/1.283, allocations: 368.5 kB / 1.192 GB, free: 288 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/1.283, allocations: 2.562 kB / 1.192 GB, free: 288 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/1.283, allocations: 0 / 1.192 GB, free: 288 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.283, allocations: 3.984 kB / 1.192 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/1.285, allocations: 0.7691 MB / 1.193 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.285, allocations: 0 / 1.193 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/1.285, allocations: 42.33 kB / 1.193 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004452/1.286, allocations: 75.62 kB / 1.193 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/1.286, allocations: 9.438 kB / 1.193 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/1.288, allocations: 1.745 MB / 1.194 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/1.288, allocations: 5.844 kB / 1.194 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/1.289, allocations: 456 kB / 1.195 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/1.289, allocations: 123 kB / 1.195 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/1.289, allocations: 6.812 kB / 1.195 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/1.289, allocations: 32.28 kB / 1.195 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/1.289, allocations: 14.86 kB / 1.195 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/1.289, allocations: 5.5 kB / 1.195 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001887/1.29, allocations: 190 kB / 1.195 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/1.29, allocations: 0 / 1.195 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004781/1.29, allocations: 78.08 kB / 1.195 GB, free: 13.33 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.000491/1.291, allocations: 168.8 kB / 1.195 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001108/1.292, allocations: 364.3 kB / 1.196 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.292, allocations: 0 / 1.196 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005687/1.292, allocations: 258.4 kB / 1.196 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006919/1.293, allocations: 125.8 kB / 1.196 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009479/1.294, allocations: 0.4979 MB / 1.197 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/1.294, allocations: 0.7717 MB / 1.197 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001971/1.295, allocations: 52.59 kB / 1.197 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/1.295, allocations: 19.81 kB / 1.197 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/1.295, allocations: 4 kB / 1.197 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of Templates: time 0.01102/1.306, allocations: 5.949 MB / 1.203 GB, free: 8.633 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 -s cvode -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