Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002249/0.002249, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002382/0.002382, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.624/1.624, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.838/2.838, allocations: 443.4 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 176] 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.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.89 kB / 1.059 GB, free: 364 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3903, allocations: 160.7 MB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002396/0.3927, allocations: 0.8371 MB / 1.217 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001225/0.3928, allocations: 35.84 kB / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.275e-05/0.3929, allocations: 0 / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.13e-05/0.3929, allocations: 15.86 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.223e-05/0.393, allocations: 11.88 kB / 1.217 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.172e-05/0.3931, allocations: 15.98 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.3932, allocations: 67.77 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.3934, allocations: 39.95 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.294e-05/0.3934, allocations: 27.88 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.116e-05/0.3935, allocations: 31.78 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.3935, allocations: 8 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.3936, allocations: 4 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/0.3936, allocations: 15.94 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.3936, allocations: 31.8 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.3938, allocations: 79.52 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3938, allocations: 0 / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3938, allocations: 0 / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3938, allocations: 0 / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.00057/0.3943, allocations: 387.1 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.3944, allocations: 12.03 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.3944, allocations: 12.84 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.3947, allocations: 192.2 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.3948, allocations: 8.375 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.3948, allocations: 4.375 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.395, allocations: 91.95 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.395, allocations: 4.188 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.395, allocations: 11.88 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.395, allocations: 7.938 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.215e-05/0.3951, allocations: 35.92 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006387/0.3958, allocations: 440.7 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.878e-05/0.3958, allocations: 41.17 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/0.3959, allocations: 21.84 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-06/0.3959, allocations: 0 / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.3959, allocations: 30.56 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.3959, allocations: 0 / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001993/0.3961, allocations: 61.75 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.3962, allocations: 81.09 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.3964, allocations: 155.7 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.3964, allocations: 29.69 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.3965, allocations: 100.1 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.3965, allocations: 11.88 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.3965, allocations: 13.72 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3967, allocations: 318.8 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.3967, allocations: 16.02 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.662e-05/0.3967, allocations: 17.66 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.348e-05/0.3968, allocations: 25.72 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3968, allocations: 0 / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.157e-05/0.3969, allocations: 61.53 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.3969, allocations: 8 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3969, allocations: 8 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.3969, allocations: 0 / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.675e-05/0.397, allocations: 8 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.397, allocations: 0 / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.951e-05/0.397, allocations: 4 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.397, allocations: 4 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.154e-05/0.3971, allocations: 113.8 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.3972, allocations: 11.94 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.3972, allocations: 7.906 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3972, allocations: 11.98 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3972, allocations: 0 / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3972, allocations: 0 / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.3977, allocations: 474.7 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3977, allocations: 3.938 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.744e-05/0.3977, allocations: 4 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3977, allocations: 3.938 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3977, allocations: 8.047 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3977, allocations: 3.938 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3977, allocations: 4 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.562e-05/0.3978, allocations: 73.89 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.3979, allocations: 89.05 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.3979, allocations: 4 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.887e-05/0.3979, allocations: 4.031 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.526e-05/0.3979, allocations: 0 / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.3979, allocations: 4 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.865e-05/0.398, allocations: 121.9 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.398, allocations: 0 / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001836/0.3982, allocations: 15.94 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001908/0.3984, allocations: 103.2 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.3985, allocations: 23.98 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3985, allocations: 0 / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-05/0.3985, allocations: 7.938 kB / 1.22 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.3987, allocations: 14.12 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/0.3991, allocations: 169.2 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.3995, allocations: 0.6965 MB / 1.221 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.053e-05/0.3995, allocations: 4.438 kB / 1.221 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.3996, allocations: 11.44 kB / 1.221 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of SimCode: time 6.11e-07/0.3996, allocations: 0 / 1.221 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of Templates: time 0.003222/0.4028, allocations: 473.5 kB / 1.222 GB, free: 9.059 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.030704193748534]