Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001798/0.001798, 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.002047/0.002047, 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.625/1.625, allocations: 225.6 MB / 249.4 MB, free: 3.16 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.701/2.701, allocations: 443.4 MB / 0.7304 GB, free: 14.01 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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 71.89 kB / 1.059 GB, free: 340 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3754, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002296/0.3777, allocations: 0.8305 MB / 1.217 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001286/0.3778, allocations: 43.78 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.116e-05/0.3779, allocations: 4 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.921e-05/0.3779, allocations: 7.875 kB / 1.217 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.378, allocations: 7.938 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.593e-05/0.3781, allocations: 27.84 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.3782, allocations: 59.84 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.3784, allocations: 39.95 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.237e-05/0.3785, allocations: 27.86 kB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.47e-05/0.3785, allocations: 27.8 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.3786, allocations: 8 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.3786, allocations: 4 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.064e-05/0.3786, allocations: 23.92 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.64e-05/0.3787, allocations: 23.81 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.3789, allocations: 87.5 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3789, allocations: 0 / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3789, allocations: 0 / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.3789, allocations: 0 / 1.217 GB, free: 14.09 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.000822/0.3797, allocations: 379.1 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/0.3798, allocations: 8.031 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.152e-05/0.3798, allocations: 16.84 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.3802, allocations: 200.1 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.3803, allocations: 8.375 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.3803, allocations: 8.375 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.3805, allocations: 91.89 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.3805, allocations: 192 / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.3806, allocations: 7.938 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.3806, allocations: 3.984 kB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3807, allocations: 39.92 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008619/0.3815, allocations: 440.6 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.3816, allocations: 37.28 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.316e-05/0.3817, allocations: 21.84 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.3817, allocations: 4 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.3818, allocations: 30.56 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.3818, allocations: 0 / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002733/0.3821, allocations: 57.52 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.3821, allocations: 85.11 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.3824, allocations: 155.9 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.3824, allocations: 25.95 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.3825, allocations: 108.1 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.3825, allocations: 7.891 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.3825, allocations: 17.72 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3827, allocations: 318.8 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.361e-05/0.3828, allocations: 7.938 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.27e-05/0.3828, allocations: 25.66 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.774e-05/0.3828, allocations: 29.7 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3828, allocations: 0 / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001043/0.3829, allocations: 57.55 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.383, allocations: 8 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.383, allocations: 3.938 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.383, allocations: 0 / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.3831, allocations: 8 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.3831, allocations: 7.984 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.024e-05/0.3831, allocations: 4.062 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.3831, allocations: 0 / 1.219 GB, free: 11.64 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 0.0001197/0.3833, allocations: 113.8 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.3833, allocations: 7.953 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.3833, allocations: 11.81 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3834, allocations: 0 / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.3834, allocations: 7.938 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3834, allocations: 3.984 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.3838, allocations: 478.7 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3838, allocations: 0 / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.3839, allocations: 7.938 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3839, allocations: 4 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.3839, allocations: 0 / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3839, allocations: 0 / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3839, allocations: 0 / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.384, allocations: 85.94 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.3841, allocations: 85.06 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.3841, allocations: 0 / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/0.3841, allocations: 4 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.3841, allocations: 3.984 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.3841, allocations: 0 / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001058/0.3842, allocations: 117.1 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3842, allocations: 7.969 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002022/0.3844, allocations: 15.94 kB / 1.22 GB, free: 10.59 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.0001822/0.3846, allocations: 103.2 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.3847, allocations: 16 kB / 1.22 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3847, allocations: 0 / 1.22 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.271e-05/0.3847, allocations: 7.938 kB / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.3849, allocations: 15.22 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004032/0.3853, allocations: 174.9 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.3857, allocations: 0.6885 MB / 1.221 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.527e-05/0.3858, allocations: 12.5 kB / 1.221 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.3858, allocations: 15.38 kB / 1.221 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of SimCode: time 6.82e-07/0.3858, allocations: 0 / 1.221 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of Templates: time 0.003276/0.3891, allocations: 469.5 kB / 1.222 GB, free: 9.043 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.779642182402313]