Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.00216/0.00216, allocations: 84.39 kB / 20.23 MB, free: 4.312 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.001695/0.001695, allocations: 169.2 kB / 23.55 MB, free: 0.9961 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.512/1.512, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.825/2.825, allocations: 359 MB / 0.6048 GB, free: 10.95 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.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.128e-05, allocations: 3.938 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002278/0.00231, allocations: 0.8067 MB / 0.7872 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001664/0.002476, allocations: 43.78 kB / 0.7872 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.04e-05/0.002536, allocations: 5.219 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.658e-05/0.002583, allocations: 7.875 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.309e-05/0.002676, allocations: 7.875 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.055e-05/0.002737, allocations: 16.58 kB / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.002877, allocations: 67.83 kB / 0.7873 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.00303, allocations: 32.81 kB / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.291e-05/0.003123, allocations: 35.91 kB / 0.7874 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.784e-05/0.00319, allocations: 20.94 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.003215, allocations: 8 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.003226, allocations: 4 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.204e-05/0.003258, allocations: 21.05 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.0033, allocations: 19.92 kB / 0.7874 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.003458, allocations: 79.56 kB / 0.7875 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.003461, allocations: 0.5625 kB / 0.7875 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003462, allocations: 0.6875 kB / 0.7875 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.003468, allocations: 4 kB / 0.7875 GB, free: 11.65 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.0005325/0.004, allocations: 298.9 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.004048, allocations: 12.03 kB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.004112, allocations: 21.5 kB / 0.7878 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.004362, allocations: 134.3 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.004378, allocations: 4.375 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.004394, allocations: 10.03 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.004589, allocations: 93.45 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.004598, allocations: 192 / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.004613, allocations: 4.375 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.004618, allocations: 4.375 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.34e-05/0.004711, allocations: 41.2 kB / 0.7881 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006198/0.005331, allocations: 360.5 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.331e-05/0.005415, allocations: 38.84 kB / 0.7885 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.005459, allocations: 21.77 kB / 0.7885 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.005467, allocations: 0 / 0.7885 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.005507, allocations: 38.09 kB / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.005508, allocations: 0 / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001924/0.0057, allocations: 49.59 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.005777, allocations: 77.11 kB / 0.7887 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.005934, allocations: 133.8 kB / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.005956, allocations: 25.7 kB / 0.7888 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.791e-05/0.006054, allocations: 111.9 kB / 0.7889 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.006068, allocations: 7.953 kB / 0.7889 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.006107, allocations: 14.34 kB / 0.789 GB, free: 10 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.0063, allocations: 318.8 kB / 0.7893 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.006319, allocations: 4.688 kB / 0.7893 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.558e-05/0.006355, allocations: 29.58 kB / 0.7893 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.349e-05/0.006408, allocations: 31.39 kB / 0.7893 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.00641, allocations: 0 / 0.7893 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001071/0.006517, allocations: 54.17 kB / 0.7894 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.006535, allocations: 5.25 kB / 0.7894 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.006545, allocations: 4 kB / 0.7894 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.006564, allocations: 0 / 0.7894 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.00663, allocations: 9.078 kB / 0.7894 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.006638, allocations: 3.938 kB / 0.7894 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.006678, allocations: 11.95 kB / 0.7894 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.006683, allocations: 0.9375 kB / 0.7894 GB, free: 9.52 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 0.0001056/0.006789, allocations: 113.8 kB / 0.7895 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.006829, allocations: 4.906 kB / 0.7895 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.006853, allocations: 7.469 kB / 0.7895 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.006858, allocations: 5.031 kB / 0.7895 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.006863, allocations: 0 / 0.7895 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.006873, allocations: 7.922 kB / 0.7895 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004723/0.007345, allocations: 416.6 kB / 0.7899 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.007347, allocations: 0 / 0.7899 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.891e-05/0.007376, allocations: 7.984 kB / 0.7899 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.007378, allocations: 3.938 kB / 0.7899 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.007387, allocations: 3.938 kB / 0.79 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.007389, allocations: 2.875 kB / 0.79 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.00739, allocations: 0 / 0.79 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.007492, allocations: 70 kB / 0.79 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.007522, allocations: 15.94 kB / 0.79 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.007538, allocations: 3.938 kB / 0.79 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.774e-05/0.007555, allocations: 0 / 0.79 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.007571, allocations: 0 / 0.79 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.007576, allocations: 5.5 kB / 0.79 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.83e-05/0.007665, allocations: 96.89 kB / 0.7901 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/0.007665, allocations: 0 / 0.7901 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002144/0.007879, allocations: 15.95 kB / 0.7902 GB, free: 8.691 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.0001342/0.008014, allocations: 99.47 kB / 0.7902 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.498e-05/0.008108, allocations: 20.55 kB / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.008111, allocations: 0.7188 kB / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.307e-05/0.008124, allocations: 11.88 kB / 0.7903 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.008288, allocations: 9.219 kB / 0.7903 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.008705, allocations: 166 kB / 0.7904 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.569e-05/0.008791, allocations: 77.92 kB / 0.7905 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.811e-05/0.008819, allocations: 0 / 0.7905 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.008858, allocations: 12.5 kB / 0.7905 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.008858, allocations: 0.7812 kB / 0.7905 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of Templates: time 0.002985/0.01184, allocations: 346.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.From_quad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.774546950939111]