Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.0008295/0.0008295, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000798/0.000798, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.9103/0.9103, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.768/1.768, allocations: 377.9 MB / 0.6228 GB, free: 8.621 MB / 0.5886 GB " [Timeout remaining time 178] 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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.108e-05, allocations: 4.953 kB / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.0043/0.004331, allocations: 0.7984 MB / 0.983 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000166/0.004497, allocations: 35.84 kB / 0.983 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.388e-05/0.004561, allocations: 0 / 0.983 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 5.299e-05/0.004614, allocations: 11.86 kB / 0.983 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.2e-05/0.004696, allocations: 23.8 kB / 0.9831 GB, free: 1.188 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.957e-05/0.004736, allocations: 15.98 kB / 0.9831 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.004844, allocations: 55.84 kB / 0.9831 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.00498, allocations: 39.89 kB / 0.9832 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.966e-05/0.00506, allocations: 31.92 kB / 0.9832 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.031e-05/0.0051, allocations: 23.91 kB / 0.9832 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.005126, allocations: 8 kB / 0.9832 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.392e-06/0.005133, allocations: 4 kB / 0.9832 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.00515, allocations: 15.92 kB / 0.9832 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.005179, allocations: 19.92 kB / 0.9833 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.005284, allocations: 75.69 kB / 0.9833 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.005288, allocations: 0 / 0.9833 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.924e-06/0.00529, allocations: 0 / 0.9833 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.005295, allocations: 0 / 0.9833 GB, free: 0.9023 MB / 0.9323 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.0003706/0.005666, allocations: 302 kB / 0.9836 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.005704, allocations: 19.97 kB / 0.9836 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.005737, allocations: 12.84 kB / 0.9837 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.005894, allocations: 125.7 kB / 0.9838 GB, free: 404 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.005906, allocations: 8.375 kB / 0.9838 GB, free: 396 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.005918, allocations: 12.36 kB / 0.9838 GB, free: 384 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.006041, allocations: 91.89 kB / 0.9839 GB, free: 280 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.00605, allocations: 192 / 0.9839 GB, free: 280 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.006061, allocations: 4.375 kB / 0.9839 GB, free: 276 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.006068, allocations: 4.375 kB / 0.9839 GB, free: 272 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.089e-05/0.006129, allocations: 39.86 kB / 0.9839 GB, free: 232 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.006501, allocations: 364.4 kB / 0.9843 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.937e-05/0.00655, allocations: 33.22 kB / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.006577, allocations: 17.78 kB / 0.9843 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-06/0.006584, allocations: 4.094 kB / 0.9843 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.006605, allocations: 38.5 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.006606, allocations: 0 / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001445/0.006751, allocations: 53.58 kB / 0.9844 GB, free: 15.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.006789, allocations: 77.11 kB / 0.9845 GB, free: 15.56 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.917e-05/0.006878, allocations: 147.5 kB / 0.9846 GB, free: 15.41 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.006887, allocations: 25.7 kB / 0.9847 GB, free: 15.38 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.006943, allocations: 115.9 kB / 0.9848 GB, free: 15.26 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.68e-06/0.006949, allocations: 0 / 0.9848 GB, free: 15.26 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.006974, allocations: 17.67 kB / 0.9848 GB, free: 15.23 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.158e-05/0.007055, allocations: 318.8 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.007068, allocations: 4 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.007086, allocations: 21.72 kB / 0.9851 GB, free: 14.88 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.513e-05/0.007122, allocations: 29.66 kB / 0.9851 GB, free: 14.85 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.007124, allocations: 4 kB / 0.9851 GB, free: 14.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.099e-05/0.007175, allocations: 49.69 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.007187, allocations: 6.5 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.007191, allocations: 0 / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.007204, allocations: 4 kB / 0.9852 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.133e-05/0.007255, allocations: 7.938 kB / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.007261, allocations: 3.938 kB / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.656e-05/0.007278, allocations: 11.89 kB / 0.9852 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.007282, allocations: 0 / 0.9852 GB, free: 14.76 MB / 0.948 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 5.949e-05/0.007341, allocations: 121.9 kB / 0.9853 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.007361, allocations: 4 kB / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.564e-05/0.007376, allocations: 7.469 kB / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.007378, allocations: 0 / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.007382, allocations: 4 kB / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.007386, allocations: 3.938 kB / 0.9854 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.007612, allocations: 414.4 kB / 0.9857 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.007613, allocations: 0 / 0.9857 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.626e-06/0.007621, allocations: 4 kB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.007625, allocations: 0 / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.007631, allocations: 8 kB / 0.9858 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.007632, allocations: 0 / 0.9858 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.007633, allocations: 0 / 0.9858 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.08e-05/0.007683, allocations: 73.92 kB / 0.9858 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.007698, allocations: 7.953 kB / 0.9858 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.587e-06/0.007706, allocations: 7.969 kB / 0.9858 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-06/0.007715, allocations: 7.984 kB / 0.9859 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.007728, allocations: 7.984 kB / 0.9859 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-06/0.007729, allocations: 3.938 kB / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.292e-05/0.007772, allocations: 101.5 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007772, allocations: 4.031 kB / 0.986 GB, free: 13.92 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001193/0.007892, allocations: 11.95 kB / 0.986 GB, free: 13.91 MB / 0.948 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 9.03e-05/0.007982, allocations: 99.78 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.014e-05/0.008052, allocations: 23.92 kB / 0.9861 GB, free: 13.78 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.008053, allocations: 0 / 0.9861 GB, free: 13.78 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.031e-06/0.008059, allocations: 4 kB / 0.9861 GB, free: 13.77 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000108/0.008167, allocations: 0 / 0.9861 GB, free: 13.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.008409, allocations: 192.5 kB / 0.9863 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.677e-05/0.008456, allocations: 83.25 kB / 0.9864 GB, free: 13.44 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.008477, allocations: 12.5 kB / 0.9864 GB, free: 13.43 MB / 0.948 GB Notification: Performance of SimCode: time 7.01e-07/0.008478, allocations: 0 / 0.9864 GB, free: 13.43 MB / 0.948 GB Notification: Performance of Templates: time 0.001442/0.00992, allocations: 0.8052 MB / 0.9872 GB, free: 12.62 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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: 6.417184280231595]