Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009512/0.0009512, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009981/0.0009981, allocations: 166.8 kB / 24.87 MB, free: 8.891 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.948/0.948, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.849/1.849, allocations: 359 MB / 0.6063 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 177] 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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.41e-05, allocations: 9.562 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.004675/0.004699, allocations: 0.8134 MB / 0.7891 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001172/0.004816, allocations: 43.78 kB / 0.7892 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.004866, allocations: 5.406 kB / 0.7892 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.004898, allocations: 7.875 kB / 0.7892 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.21e-05/0.00498, allocations: 7.875 kB / 0.7892 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.212e-05/0.005022, allocations: 21.03 kB / 0.7892 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.7e-05/0.005119, allocations: 71.77 kB / 0.7893 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.005225, allocations: 23.98 kB / 0.7893 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.642e-05/0.005321, allocations: 45.41 kB / 0.7893 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.545e-05/0.005357, allocations: 15.97 kB / 0.7893 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.005373, allocations: 4 kB / 0.7894 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.709e-06/0.005382, allocations: 13.5 kB / 0.7894 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.005401, allocations: 7.984 kB / 0.7894 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.005425, allocations: 19.92 kB / 0.7894 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.382e-05/0.005509, allocations: 47.7 kB / 0.7894 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.005513, allocations: 4 kB / 0.7894 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.92e-07/0.005514, allocations: 0.5 kB / 0.7894 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.005517, allocations: 1.219 kB / 0.7894 GB, free: 11.08 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.0003239/0.005841, allocations: 408.2 kB / 0.7898 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.005874, allocations: 12.03 kB / 0.7898 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.005904, allocations: 15.02 kB / 0.7899 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.006027, allocations: 136.4 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.006039, allocations: 8.375 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.006048, allocations: 8.375 kB / 0.79 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.712e-05/0.006145, allocations: 79.31 kB / 0.7901 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.006152, allocations: 2.281 kB / 0.7901 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.006161, allocations: 4.375 kB / 0.7901 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.006169, allocations: 4.375 kB / 0.7901 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.65e-05/0.006205, allocations: 23.86 kB / 0.7901 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.006634, allocations: 0.7263 MB / 0.7908 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.891e-05/0.006722, allocations: 266 kB / 0.7911 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.006757, allocations: 128.5 kB / 0.7912 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.006786, allocations: 119.2 kB / 0.7913 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.006834, allocations: 160.6 kB / 0.7915 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.006834, allocations: 0 / 0.7915 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.394e-05/0.006888, allocations: 33.66 kB / 0.7915 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.006946, allocations: 171.2 kB / 0.7917 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.007056, allocations: 204.4 kB / 0.7919 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.007066, allocations: 29.7 kB / 0.7919 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.003081/0.01015, allocations: 174.4 kB / 0.792 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.01015, allocations: 1.156 kB / 0.7921 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.01019, allocations: 35.34 kB / 0.7921 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.01032, allocations: 492.1 kB / 0.7926 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.01033, allocations: 5.375 kB / 0.7926 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.88e-05/0.01038, allocations: 85.34 kB / 0.7926 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.634e-05/0.01046, allocations: 84.19 kB / 0.7927 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01046, allocations: 0 / 0.7927 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000128/0.01059, allocations: 91.22 kB / 0.7928 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.0106, allocations: 7.094 kB / 0.7928 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.01061, allocations: 4 kB / 0.7928 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/0.01062, allocations: 0 / 0.7928 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.217e-05/0.01067, allocations: 15.94 kB / 0.7928 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.01067, allocations: 4 kB / 0.7928 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.01071, allocations: 11.94 kB / 0.7928 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.01071, allocations: 4 kB / 0.7929 GB, free: 7.309 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.0001061/0.01082, allocations: 291.7 kB / 0.7931 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.01088, allocations: 153.3 kB / 0.7933 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.01093, allocations: 154.6 kB / 0.7934 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.368e-05/0.01101, allocations: 280 kB / 0.7937 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.125e-05/0.01108, allocations: 268.1 kB / 0.7939 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-05/0.01115, allocations: 272 kB / 0.7942 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.01136, allocations: 496.4 kB / 0.7947 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.895e-05/0.0114, allocations: 144.9 kB / 0.7948 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.01144, allocations: 151.4 kB / 0.795 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-05/0.01151, allocations: 268.1 kB / 0.7952 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.811e-05/0.01158, allocations: 268.1 kB / 0.7955 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-05/0.01165, allocations: 272 kB / 0.7957 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.798e-05/0.01172, allocations: 268.1 kB / 0.796 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.01187, allocations: 447.9 kB / 0.7964 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.01192, allocations: 157.5 kB / 0.7966 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.531e-05/0.012, allocations: 272 kB / 0.7968 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.843e-05/0.01207, allocations: 149.7 kB / 0.797 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.01215, allocations: 272.3 kB / 0.7972 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/0.01219, allocations: 149.7 kB / 0.7974 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.976e-05/0.01225, allocations: 141 kB / 0.7975 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01225, allocations: 0 / 0.7975 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002237/0.01247, allocations: 9.234 kB / 0.7975 GB, free: 2.352 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.0001079/0.01258, allocations: 214.4 kB / 0.7977 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.993e-05/0.01266, allocations: 49.28 kB / 0.7978 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01266, allocations: 0 / 0.7978 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.01266, allocations: 9.438 kB / 0.7978 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003372/0.01604, allocations: 0.7062 MB / 0.7985 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002607/0.0163, allocations: 277.5 kB / 0.7987 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.197e-05/0.01634, allocations: 60.47 kB / 0.7988 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.566e-05/0.01637, allocations: 9.844 kB / 0.7988 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.01641, allocations: 70.2 kB / 0.7989 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.01641, allocations: 0 / 0.7989 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of Templates: time 0.001812/0.01823, allocations: 339.2 kB / 0.7992 GB, free: 0.5898 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.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: 5.05248672934249]