Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 79.78 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 164 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.91/2.91, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.227e-05, allocations: 9.516 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.00187/0.001902, allocations: 0.7907 MB / 0.9822 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001176/0.00202, allocations: 39.78 kB / 0.9822 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.61e-05/0.002066, allocations: 4 kB / 0.9823 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.002106, allocations: 11.88 kB / 0.9823 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.466e-05/0.002191, allocations: 19.8 kB / 0.9823 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.735e-05/0.002238, allocations: 19.97 kB / 0.9823 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.002356, allocations: 59.84 kB / 0.9824 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.00248, allocations: 27.92 kB / 0.9824 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.002634, allocations: 47.83 kB / 0.9824 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.624e-05/0.00268, allocations: 19.91 kB / 0.9824 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.002704, allocations: 4 kB / 0.9825 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.002718, allocations: 11.94 kB / 0.9825 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.00274, allocations: 11.92 kB / 0.9825 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.002777, allocations: 27.92 kB / 0.9825 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.002908, allocations: 71.75 kB / 0.9826 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.00291, allocations: 0 / 0.9826 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.52e-07/0.002911, allocations: 0 / 0.9826 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.002918, allocations: 0 / 0.9826 GB, free: 10.82 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005221/0.00344, allocations: 302 kB / 0.9829 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.003483, allocations: 8.031 kB / 0.9829 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.003517, allocations: 12.84 kB / 0.9829 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.00372, allocations: 137.6 kB / 0.983 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.003732, allocations: 8.312 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.003753, allocations: 12.38 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.003926, allocations: 95.88 kB / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.003935, allocations: 192 / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.003948, allocations: 4.375 kB / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.003953, allocations: 384 / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.466e-05/0.004038, allocations: 39.92 kB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005246/0.004563, allocations: 356.4 kB / 0.9835 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.619e-05/0.004629, allocations: 33.28 kB / 0.9835 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/0.004667, allocations: 21.72 kB / 0.9836 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.004677, allocations: 4 kB / 0.9836 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.004707, allocations: 38.59 kB / 0.9836 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.004708, allocations: 0 / 0.9836 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001844/0.004893, allocations: 53.58 kB / 0.9836 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.00495, allocations: 81.11 kB / 0.9837 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.0051, allocations: 133.8 kB / 0.9839 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.005116, allocations: 25.7 kB / 0.9839 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.64e-05/0.005192, allocations: 111.9 kB / 0.984 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.776e-06/0.005201, allocations: 4 kB / 0.984 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.005236, allocations: 17.92 kB / 0.984 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.005413, allocations: 322.8 kB / 0.9843 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.005432, allocations: 8 kB / 0.9843 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.889e-05/0.005461, allocations: 13.72 kB / 0.9843 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.708e-05/0.005508, allocations: 29.66 kB / 0.9844 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.00551, allocations: 0 / 0.9844 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.029e-05/0.0056, allocations: 57.69 kB / 0.9844 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.005613, allocations: 4 kB / 0.9844 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.005616, allocations: 160 / 0.9844 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.005631, allocations: 7.984 kB / 0.9844 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.005696, allocations: 15.88 kB / 0.9844 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.005703, allocations: 3.938 kB / 0.9844 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.005732, allocations: 7.891 kB / 0.9845 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.005738, allocations: 4 kB / 0.9845 GB, free: 8.668 MB / 0.9356 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.0001007/0.005839, allocations: 117.8 kB / 0.9846 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.005878, allocations: 0 / 0.9846 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.0059, allocations: 11.47 kB / 0.9846 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005901, allocations: 3.938 kB / 0.9846 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.005905, allocations: 0 / 0.9846 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.005909, allocations: 7.938 kB / 0.9846 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005537/0.006463, allocations: 414.4 kB / 0.985 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006464, allocations: 0 / 0.985 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.127e-05/0.006485, allocations: 4 kB / 0.985 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.006487, allocations: 0 / 0.985 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.006495, allocations: 3.938 kB / 0.985 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.006496, allocations: 4 kB / 0.985 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.006497, allocations: 0 / 0.985 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.46e-05/0.006592, allocations: 73.92 kB / 0.9851 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.006614, allocations: 12.05 kB / 0.9851 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.006632, allocations: 7.938 kB / 0.9851 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.796e-05/0.006649, allocations: 0 / 0.9851 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.006669, allocations: 7.984 kB / 0.9851 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.006671, allocations: 0 / 0.9851 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.701e-05/0.006748, allocations: 98.27 kB / 0.9852 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.006748, allocations: 0 / 0.9852 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002069/0.006955, allocations: 15.95 kB / 0.9852 GB, free: 7.832 MB / 0.9356 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.000115/0.00707, allocations: 95.78 kB / 0.9853 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.896e-05/0.007149, allocations: 19.94 kB / 0.9853 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.00715, allocations: 0 / 0.9853 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.356e-05/0.007164, allocations: 7.984 kB / 0.9853 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.007316, allocations: 8 kB / 0.9853 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.007659, allocations: 162.6 kB / 0.9855 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.595e-05/0.007735, allocations: 75.33 kB / 0.9856 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.688e-05/0.007771, allocations: 12.23 kB / 0.9856 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.742e-05/0.007799, allocations: 8.5 kB / 0.9856 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of SimCode: time 4.1e-07/0.007799, allocations: 3.938 kB / 0.9856 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of Templates: time 0.00305/0.01085, allocations: 344.4 kB / 0.9859 GB, free: 7.043 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.306047726422548]