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.001264/0.001264, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 200 kB / 16.79 MB, free: 6.809 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.446/1.446, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.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.681/2.681, allocations: 437 MB / 0.7106 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 59.91 kB / 0.8692 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7102/0.7125, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1762/0.8888, allocations: 159.3 MB / 1.173 GB, free: 2.965 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005374/0.8942, allocations: 3.522 MB / 1.176 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004868/0.8947, allocations: 11.94 kB / 1.176 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005823/0.8954, allocations: 99.3 kB / 1.176 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.8969, allocations: 422.3 kB / 1.177 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.8987, allocations: 0.5413 MB / 1.177 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.8997, allocations: 0.8116 MB / 1.178 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004316/0.9002, allocations: 204.6 kB / 1.178 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.902, allocations: 295.7 kB / 1.179 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005077/0.9025, allocations: 207.1 kB / 1.179 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.152e-05/0.9026, allocations: 16 kB / 1.179 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.904, allocations: 0.6273 MB / 1.179 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.9042, allocations: 87.7 kB / 1.179 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.9045, allocations: 135.3 kB / 1.18 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007899/0.9053, allocations: 399.2 kB / 1.18 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9053, allocations: 0 / 1.18 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9053, allocations: 0 / 1.18 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.9053, allocations: 0 / 1.18 GB, free: 11.61 MB / 0.9356 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.001426/0.9067, allocations: 0.635 MB / 1.181 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.9068, allocations: 11.97 kB / 1.181 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006165/0.9074, allocations: 79.5 kB / 1.181 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/0.9079, allocations: 289.4 kB / 1.181 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.9079, allocations: 16.44 kB / 1.181 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.9079, allocations: 16 kB / 1.181 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006903/0.9086, allocations: 312.2 kB / 1.181 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.9087, allocations: 4 kB / 1.181 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.9087, allocations: 7.984 kB / 1.181 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.9087, allocations: 7.938 kB / 1.181 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006642/0.9094, allocations: 252.9 kB / 1.182 GB, free: 9.895 MB / 0.9356 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.001898/0.9113, allocations: 1.248 MB / 1.183 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.9118, allocations: 178.5 kB / 1.183 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.9121, allocations: 124.8 kB / 1.183 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000683/0.9128, allocations: 307.2 kB / 1.183 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.9129, allocations: 38.5 kB / 1.183 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.9129, allocations: 0 / 1.183 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.002387/0.9153, allocations: 0.5765 MB / 1.184 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.9153, allocations: 51.41 kB / 1.184 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.9156, allocations: 259 kB / 1.184 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.9157, allocations: 29.7 kB / 1.184 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.9158, allocations: 168.2 kB / 1.184 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.776e-05/0.9159, allocations: 39.36 kB / 1.184 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-05/0.916, allocations: 41.61 kB / 1.184 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.9161, allocations: 334.8 kB / 1.185 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.9164, allocations: 95.91 kB / 1.185 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.9167, allocations: 137.3 kB / 1.185 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005863/0.9173, allocations: 236.1 kB / 1.185 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.9173, allocations: 0 / 1.185 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001246/0.9186, allocations: 357.8 kB / 1.186 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.9186, allocations: 12.06 kB / 1.186 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.9186, allocations: 0 / 1.186 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006295/0.9193, allocations: 92.75 kB / 1.186 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.9195, allocations: 35.97 kB / 1.186 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.9219, allocations: 1.621 MB / 1.187 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.9222, allocations: 35.81 kB / 1.187 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.9223, allocations: 7.938 kB / 1.187 GB, free: 3.484 MB / 0.9356 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.000213/0.9225, allocations: 145.8 kB / 1.188 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.791e-05/0.9226, allocations: 31.7 kB / 1.188 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.9238, allocations: 359.9 kB / 1.188 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.9238, allocations: 4 kB / 1.188 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.9238, allocations: 0 / 1.188 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.9238, allocations: 3.984 kB / 1.188 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.9256, allocations: 0.7785 MB / 1.189 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.9256, allocations: 4 kB / 1.189 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.9258, allocations: 39.89 kB / 1.189 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005876/0.9264, allocations: 88.86 kB / 1.189 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.9264, allocations: 4 kB / 1.189 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.9285, allocations: 1.625 MB / 1.19 GB, free: 188 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.9285, allocations: 4.031 kB / 1.19 GB, free: 184 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.9297, allocations: 454.3 kB / 1.191 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.93, allocations: 124.7 kB / 1.191 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.93, allocations: 8 kB / 1.191 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.9303, allocations: 23.95 kB / 1.191 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.826e-05/0.9304, allocations: 19.92 kB / 1.191 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.9304, allocations: 8 kB / 1.191 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002051/0.9307, allocations: 182 kB / 1.191 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9307, allocations: 4 kB / 1.191 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004953/0.9312, allocations: 95.77 kB / 1.191 GB, free: 15.23 MB / 0.9512 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.0004769/0.9316, allocations: 155.8 kB / 1.191 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.9327, allocations: 358.6 kB / 1.192 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.9328, allocations: 0 / 1.192 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006201/0.9334, allocations: 262.7 kB / 1.192 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007947/0.9342, allocations: 118.4 kB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.9353, allocations: 0.6238 MB / 1.193 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.9357, allocations: 0.7713 MB / 1.193 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.611e-05/0.9358, allocations: 23.42 kB / 1.193 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of SimCode: time 5.01e-07/0.9358, allocations: 3.938 kB / 1.193 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of Templates: time 0.009596/0.9454, allocations: 5.376 MB / 1.199 GB, free: 7.512 MB / 0.9512 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