Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002046/0.002046, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.00293/0.00293, allocations: 165.3 kB / 23.55 MB, free: 0.8594 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 1.52/1.52, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.824/2.824, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.778e-05, allocations: 5.125 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002184/0.002212, allocations: 0.8023 MB / 0.7872 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000146/0.002358, allocations: 44.94 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.00241, allocations: 0 / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.442e-05/0.002455, allocations: 11.86 kB / 0.7872 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.202e-05/0.002537, allocations: 8.438 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.653e-05/0.002603, allocations: 20.77 kB / 0.7872 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.002731, allocations: 63.83 kB / 0.7873 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.002869, allocations: 40.75 kB / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.002978, allocations: 39.84 kB / 0.7874 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.609e-05/0.003024, allocations: 17.86 kB / 0.7874 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.003048, allocations: 8 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.003058, allocations: 4 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.042e-05/0.003089, allocations: 23.91 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.003126, allocations: 11.94 kB / 0.7874 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.003273, allocations: 76.25 kB / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.003275, allocations: 0 / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.12e-07/0.003276, allocations: 1.188 kB / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.00328, allocations: 0 / 0.7875 GB, free: 11.66 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.0005246/0.003805, allocations: 306 kB / 0.7878 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.003853, allocations: 8.594 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.246e-05/0.003916, allocations: 17.72 kB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.00415, allocations: 137.6 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.004169, allocations: 8.969 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.004188, allocations: 8.375 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.00438, allocations: 91.39 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.004389, allocations: 4.125 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.004403, allocations: 4.375 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.004411, allocations: 7 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.004521, allocations: 43.86 kB / 0.7881 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005808/0.005101, allocations: 352.5 kB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.18e-05/0.005173, allocations: 33.16 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.759e-05/0.005221, allocations: 25.83 kB / 0.7885 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.282e-06/0.005227, allocations: 1.594 kB / 0.7885 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.005262, allocations: 34.5 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.005264, allocations: 4 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002006/0.005464, allocations: 54.19 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.005527, allocations: 77.83 kB / 0.7887 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.005679, allocations: 129.8 kB / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.005697, allocations: 26.64 kB / 0.7888 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.145e-05/0.005788, allocations: 111.9 kB / 0.7889 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.005801, allocations: 9.859 kB / 0.7889 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.005838, allocations: 13.72 kB / 0.789 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.006019, allocations: 318.8 kB / 0.7893 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.006042, allocations: 8 kB / 0.7893 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.759e-05/0.006069, allocations: 17.7 kB / 0.7893 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.354e-05/0.006123, allocations: 31.19 kB / 0.7893 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006124, allocations: 0 / 0.7893 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.431e-05/0.006219, allocations: 50.7 kB / 0.7894 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.006233, allocations: 4 kB / 0.7894 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.006238, allocations: 0.7188 kB / 0.7894 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.006255, allocations: 0 / 0.7894 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.006332, allocations: 18.48 kB / 0.7894 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.00634, allocations: 3.938 kB / 0.7894 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/0.006373, allocations: 11.95 kB / 0.7894 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.00638, allocations: 4 kB / 0.7894 GB, free: 9.531 MB / 0.7448 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 9.994e-05/0.00648, allocations: 113.8 kB / 0.7895 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.006522, allocations: 4 kB / 0.7895 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.765e-05/0.006539, allocations: 4 kB / 0.7895 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006541, allocations: 0 / 0.7895 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.006548, allocations: 4.703 kB / 0.7895 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.006553, allocations: 7.938 kB / 0.7895 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.006997, allocations: 416.5 kB / 0.7899 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.006999, allocations: 4 kB / 0.7899 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.007021, allocations: 3.984 kB / 0.7899 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.007026, allocations: 7.938 kB / 0.7899 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.007034, allocations: 4.531 kB / 0.79 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.007035, allocations: 0 / 0.79 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.007036, allocations: 0.5938 kB / 0.79 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.007141, allocations: 74.81 kB / 0.79 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.007166, allocations: 15.92 kB / 0.79 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.007181, allocations: 9.062 kB / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.847e-05/0.0072, allocations: 0 / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/0.00722, allocations: 0 / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.007222, allocations: 1.375 kB / 0.7901 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.64e-05/0.007308, allocations: 105.8 kB / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007308, allocations: 0 / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001989/0.007507, allocations: 7.953 kB / 0.7902 GB, free: 8.699 MB / 0.7448 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.0001225/0.00763, allocations: 96.22 kB / 0.7903 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.76e-05/0.007717, allocations: 24.64 kB / 0.7903 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.007719, allocations: 1.062 kB / 0.7903 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.167e-05/0.00773, allocations: 4 kB / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.007887, allocations: 4.844 kB / 0.7903 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.008269, allocations: 167.5 kB / 0.7904 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.872e-05/0.008358, allocations: 79.27 kB / 0.7905 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.801e-05/0.008386, allocations: 5.031 kB / 0.7905 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.008422, allocations: 12.5 kB / 0.7905 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.008422, allocations: 2.031 kB / 0.7905 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of Templates: time 0.002727/0.01115, allocations: 352.3 kB / 0.7909 GB, free: 7.926 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.959887370001525]