Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.001622/0.001622, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001806/0.001806, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.519/1.519, allocations: 225.6 MB / 249.4 MB, free: 3.148 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.74/2.74, allocations: 443.5 MB / 0.7304 GB, free: 13.89 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 67.89 kB / 1.059 GB, free: 392 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3845, allocations: 160.7 MB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002913/0.3874, allocations: 0.8318 MB / 1.217 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001626/0.3876, allocations: 39.78 kB / 1.217 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.699e-05/0.3877, allocations: 4 kB / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.922e-05/0.3877, allocations: 7.875 kB / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.3879, allocations: 11.86 kB / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.944e-05/0.3879, allocations: 19.98 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.3881, allocations: 59.84 kB / 1.217 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.3883, allocations: 35.97 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.277e-05/0.3884, allocations: 27.86 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.3885, allocations: 31.78 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.3885, allocations: 8 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.3885, allocations: 4 kB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.916e-05/0.3886, allocations: 19.92 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.955e-05/0.3886, allocations: 39.73 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.3888, allocations: 67.59 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.3888, allocations: 4 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.418e-06/0.3888, allocations: 0 / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.3889, allocations: 7.938 kB / 1.217 GB, free: 14.12 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.0006695/0.3895, allocations: 383.1 kB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.3896, allocations: 8.031 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.3896, allocations: 16.84 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.3899, allocations: 192.2 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.39, allocations: 4.375 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.39, allocations: 8.375 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.3902, allocations: 101.3 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3902, allocations: 192 / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.3902, allocations: 3.938 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3902, allocations: 0 / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.204e-05/0.3903, allocations: 39.92 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006978/0.391, allocations: 432.6 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.294e-05/0.3911, allocations: 45.28 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.545e-05/0.3912, allocations: 17.84 kB / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.3912, allocations: 0 / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.3912, allocations: 38.55 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3912, allocations: 0 / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000204/0.3914, allocations: 57.53 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.3915, allocations: 85.05 kB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.3917, allocations: 160.1 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3917, allocations: 25.7 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.317e-05/0.3918, allocations: 100.1 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.3918, allocations: 7.891 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.3918, allocations: 17.72 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.392, allocations: 327.1 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.392, allocations: 0 / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.575e-05/0.3921, allocations: 33.69 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/0.3921, allocations: 21.72 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3921, allocations: 0 / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.94e-05/0.3922, allocations: 61.55 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3922, allocations: 12.06 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.3922, allocations: 3.938 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.3923, allocations: 3.984 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.121e-05/0.3923, allocations: 4 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3924, allocations: 4 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.3924, allocations: 0 / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.3924, allocations: 4 kB / 1.219 GB, free: 11.69 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.736e-05/0.3925, allocations: 113.8 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.3925, allocations: 7.953 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.3926, allocations: 27.73 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3926, allocations: 0 / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3926, allocations: 4 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3926, allocations: 0 / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/0.393, allocations: 474.7 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.393, allocations: 0 / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.118e-05/0.3931, allocations: 8 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3931, allocations: 8 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3931, allocations: 0 / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3931, allocations: 0 / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3931, allocations: 0 / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.3932, allocations: 77.88 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.149e-05/0.3932, allocations: 85.06 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.3933, allocations: 7.984 kB / 1.22 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.284e-05/0.3933, allocations: 11.97 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.3933, allocations: 0 / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.3933, allocations: 0 / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.428e-05/0.3934, allocations: 121.5 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3934, allocations: 0 / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000185/0.3936, allocations: 11.94 kB / 1.22 GB, free: 10.64 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.0001576/0.3937, allocations: 99.25 kB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.3938, allocations: 20 kB / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3939, allocations: 0 / 1.22 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/0.3939, allocations: 11.94 kB / 1.22 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/0.394, allocations: 13.8 kB / 1.22 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.3944, allocations: 166.6 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.3948, allocations: 0.6926 MB / 1.221 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.006e-05/0.3948, allocations: 8.422 kB / 1.221 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.3949, allocations: 11.44 kB / 1.221 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of SimCode: time 6.11e-07/0.3949, allocations: 0 / 1.221 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of Templates: time 0.003111/0.398, allocations: 485.5 kB / 1.222 GB, free: 9.078 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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: 8.710216789506376]