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.001909/0.001909, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.002284/0.002284, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.489/1.489, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.66/2.66, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] 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.002118/0.002118, allocations: 63.89 kB / 1.057 GB, free: 1.992 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3014, allocations: 160.7 MB / 1.214 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002328/0.3037, allocations: 0.8241 MB / 1.215 GB, free: 128 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001362/0.3038, allocations: 43.78 kB / 1.215 GB, free: 84 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.3039, allocations: 4 kB / 1.215 GB, free: 80 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.738e-05/0.3039, allocations: 11.88 kB / 1.215 GB, free: 68 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.61e-05/0.304, allocations: 7.875 kB / 1.215 GB, free: 60 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.97e-05/0.3041, allocations: 19.97 kB / 1.215 GB, free: 40 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.3042, allocations: 59.84 kB / 1.215 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.3044, allocations: 39.95 kB / 1.215 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.384e-05/0.3044, allocations: 27.86 kB / 1.215 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.847e-05/0.3045, allocations: 31.73 kB / 1.215 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.3045, allocations: 8 kB / 1.215 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.3045, allocations: 4 kB / 1.215 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.3046, allocations: 19.92 kB / 1.215 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.3046, allocations: 27.81 kB / 1.215 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.3047, allocations: 83.56 kB / 1.215 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3047, allocations: 0 / 1.215 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3047, allocations: 0 / 1.215 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.3047, allocations: 3.938 kB / 1.215 GB, free: 15.74 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.0005031/0.3052, allocations: 379.1 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3053, allocations: 11.97 kB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.3053, allocations: 12.84 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.3056, allocations: 196.2 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.3056, allocations: 8.375 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.3056, allocations: 8.375 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.3058, allocations: 89.77 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3058, allocations: 4.172 kB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.3058, allocations: 11.94 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3058, allocations: 0 / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.501e-05/0.3059, allocations: 39.98 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006132/0.3065, allocations: 448.6 kB / 1.216 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.117e-05/0.3066, allocations: 33.16 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.3066, allocations: 17.84 kB / 1.216 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.3066, allocations: 12.03 kB / 1.216 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.3066, allocations: 30.56 kB / 1.216 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3066, allocations: 0 / 1.216 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001862/0.3068, allocations: 57.52 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.3069, allocations: 85.11 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.307, allocations: 152.3 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3071, allocations: 29.7 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.3072, allocations: 108.3 kB / 1.217 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.032e-05/0.3072, allocations: 7.891 kB / 1.217 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.3072, allocations: 21.67 kB / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3073, allocations: 318.8 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.3074, allocations: 4 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.546e-05/0.3074, allocations: 17.72 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.779e-05/0.3074, allocations: 33.66 kB / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3074, allocations: 0 / 1.217 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001005/0.3075, allocations: 57.64 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3075, allocations: 4 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3075, allocations: 7.938 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3076, allocations: 0 / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.186e-05/0.3076, allocations: 7.938 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3076, allocations: 0 / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.342e-05/0.3077, allocations: 7.984 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.3077, allocations: 4.062 kB / 1.217 GB, free: 13.3 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 8.466e-05/0.3078, allocations: 113.8 kB / 1.217 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.3078, allocations: 7.953 kB / 1.217 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.3078, allocations: 19.75 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3078, allocations: 0 / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3078, allocations: 0 / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.3078, allocations: 4 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.3083, allocations: 474.7 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3083, allocations: 4 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.3083, allocations: 0 / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3083, allocations: 7.938 kB / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.3083, allocations: 0 / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3083, allocations: 0 / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3083, allocations: 0 / 1.218 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.65e-05/0.3084, allocations: 89.88 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.3085, allocations: 85.06 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.3085, allocations: 0 / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.198e-05/0.3085, allocations: 4 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.3085, allocations: 0 / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.3085, allocations: 4 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001005/0.3086, allocations: 125.5 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3086, allocations: 0 / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001897/0.3088, allocations: 15.97 kB / 1.218 GB, free: 12.25 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.0001339/0.309, allocations: 99.23 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.071e-05/0.309, allocations: 23.94 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.309, allocations: 0 / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.141e-05/0.3091, allocations: 4 kB / 1.218 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.3092, allocations: 11.94 kB / 1.218 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.3096, allocations: 196.5 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.31, allocations: 0.6923 MB / 1.219 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.31, allocations: 11.44 kB / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.31, allocations: 0 / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of Templates: time 0.002733/0.3127, allocations: 0.8801 MB / 1.22 GB, free: 10.25 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.420277473051101]