Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.00139/0.00139, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001524/0.001524, allocations: 170.1 kB / 24.87 MB, free: 8.836 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.9292/0.9292, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.836/1.836, allocations: 359 MB / 0.6063 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.308e-05, allocations: 3.969 kB / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001836/0.001859, allocations: 0.8239 MB / 0.7891 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000127/0.001986, allocations: 45 kB / 0.7892 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.002036, allocations: 0 / 0.7892 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.075e-05/0.002077, allocations: 8.5 kB / 0.7892 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.083e-05/0.002158, allocations: 15.81 kB / 0.7892 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.637e-05/0.002204, allocations: 13.39 kB / 0.7892 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.002309, allocations: 67.83 kB / 0.7893 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.002423, allocations: 31.97 kB / 0.7893 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.486e-05/0.002518, allocations: 40.69 kB / 0.7893 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.207e-05/0.00256, allocations: 23.91 kB / 0.7894 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.002576, allocations: 7.938 kB / 0.7894 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.002584, allocations: 4.562 kB / 0.7894 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.002603, allocations: 12.67 kB / 0.7894 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.002627, allocations: 15.92 kB / 0.7894 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.829e-05/0.002716, allocations: 44.69 kB / 0.7894 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.002718, allocations: 0 / 0.7894 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.32e-07/0.002718, allocations: 0 / 0.7894 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.002722, allocations: 0.6562 kB / 0.7894 GB, free: 11.05 MB / 0.7448 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.0003466/0.003069, allocations: 412.9 kB / 0.7898 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.003103, allocations: 8.031 kB / 0.7898 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.003137, allocations: 14.55 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.003274, allocations: 144.4 kB / 0.79 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.003285, allocations: 4.375 kB / 0.79 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.003295, allocations: 8.375 kB / 0.79 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.0034, allocations: 83.72 kB / 0.7901 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.003408, allocations: 192 / 0.7901 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.003418, allocations: 4.375 kB / 0.7901 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.003423, allocations: 384 / 0.7901 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.003458, allocations: 25.45 kB / 0.7901 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.003913, allocations: 0.7262 MB / 0.7908 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.329e-05/0.004006, allocations: 269.4 kB / 0.7911 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.642e-05/0.004043, allocations: 131.6 kB / 0.7912 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.004072, allocations: 119.2 kB / 0.7913 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.761e-05/0.004119, allocations: 156 kB / 0.7915 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.00412, allocations: 0 / 0.7915 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.879e-05/0.004179, allocations: 33.66 kB / 0.7915 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.00424, allocations: 174.6 kB / 0.7917 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.00436, allocations: 203.7 kB / 0.7919 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.004368, allocations: 25.7 kB / 0.7919 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.047e-05/0.004449, allocations: 178.4 kB / 0.7921 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.004451, allocations: 0 / 0.7921 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.004488, allocations: 23.38 kB / 0.7921 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.004616, allocations: 0.4966 MB / 0.7926 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/0.004627, allocations: 8.469 kB / 0.7926 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.114e-05/0.004678, allocations: 77.47 kB / 0.7926 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.568e-05/0.004754, allocations: 88.97 kB / 0.7927 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.004756, allocations: 0 / 0.7927 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000127/0.004883, allocations: 79.39 kB / 0.7928 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001798/0.005063, allocations: 8.719 kB / 0.7928 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.005069, allocations: 3.938 kB / 0.7928 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.005084, allocations: 9.172 kB / 0.7928 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.526e-05/0.005139, allocations: 12 kB / 0.7928 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.005144, allocations: 4 kB / 0.7928 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.005178, allocations: 4.688 kB / 0.7929 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.005185, allocations: 8 kB / 0.7929 GB, free: 7.273 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001026/0.005287, allocations: 289.9 kB / 0.7931 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.00535, allocations: 152.8 kB / 0.7933 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.005405, allocations: 160.7 kB / 0.7934 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.65e-05/0.005472, allocations: 272 kB / 0.7937 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.446e-05/0.005536, allocations: 264.1 kB / 0.7939 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.99e-05/0.005606, allocations: 284 kB / 0.7942 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.005814, allocations: 491.8 kB / 0.7947 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-05/0.005854, allocations: 144.9 kB / 0.7948 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/0.005892, allocations: 152.8 kB / 0.795 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.525e-05/0.005957, allocations: 264.1 kB / 0.7952 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-05/0.006025, allocations: 272 kB / 0.7955 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-05/0.006091, allocations: 268.1 kB / 0.7957 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.59e-05/0.006157, allocations: 272 kB / 0.796 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.006303, allocations: 447.9 kB / 0.7964 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/0.006357, allocations: 157.9 kB / 0.7966 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.98e-05/0.006437, allocations: 268.1 kB / 0.7968 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.006513, allocations: 152.8 kB / 0.797 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/0.006581, allocations: 268.9 kB / 0.7972 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.006618, allocations: 144.9 kB / 0.7974 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.952e-05/0.006678, allocations: 144.4 kB / 0.7975 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006678, allocations: 0.5625 kB / 0.7975 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002289/0.006907, allocations: 11.95 kB / 0.7975 GB, free: 2.316 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001209/0.007028, allocations: 223.5 kB / 0.7977 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.627e-05/0.007104, allocations: 41.58 kB / 0.7978 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.007106, allocations: 0 / 0.7978 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.007107, allocations: 0 / 0.7978 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.00747, allocations: 0.7129 MB / 0.7985 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.007727, allocations: 277.5 kB / 0.7987 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.892e-05/0.007766, allocations: 59.34 kB / 0.7988 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.368e-05/0.0078, allocations: 11.69 kB / 0.7988 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.007835, allocations: 70.2 kB / 0.7989 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.007836, allocations: 0 / 0.7989 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of Templates: time 0.002005/0.009841, allocations: 338.6 kB / 0.7992 GB, free: 0.5586 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9190010372549295]