Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0008584/0.0008584, allocations: 72.5 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.0009661/0.0009661, allocations: 177.9 kB / 23.21 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.8905/0.8905, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.8/1.8, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.911e-05, allocations: 2.281 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002288/0.002318, allocations: 0.7868 MB / 1.002 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001882/0.002506, allocations: 43.78 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.008e-05/0.002586, allocations: 0 / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.445e-05/0.00264, allocations: 7.875 kB / 1.002 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.002761, allocations: 11.86 kB / 1.002 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.503e-05/0.002826, allocations: 19.98 kB / 1.002 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.002991, allocations: 59.84 kB / 1.002 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.003209, allocations: 39.84 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.003328, allocations: 35.91 kB / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.468e-05/0.003383, allocations: 23.89 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.003416, allocations: 4 kB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.003426, allocations: 8 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.003446, allocations: 11.94 kB / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.003479, allocations: 19.92 kB / 1.002 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.003589, allocations: 71.77 kB / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.003593, allocations: 3.984 kB / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003594, allocations: 0 / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.003597, allocations: 3.938 kB / 1.002 GB, free: 11.82 MB / 0.9636 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.0003593/0.003957, allocations: 306 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.003995, allocations: 12.75 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.004035, allocations: 8.891 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.004189, allocations: 137.6 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.0042, allocations: 8.375 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.004211, allocations: 4.375 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.004338, allocations: 103.8 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.004346, allocations: 192 / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.004355, allocations: 384 / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.004359, allocations: 384 / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.959e-05/0.004419, allocations: 39.92 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.004768, allocations: 360.4 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.755e-05/0.004816, allocations: 37.22 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.84e-05/0.004844, allocations: 17.88 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.004851, allocations: 3.938 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.004871, allocations: 34.56 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.004872, allocations: 0 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001408/0.005013, allocations: 53.58 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.005049, allocations: 77.11 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.687e-05/0.005136, allocations: 144.3 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.005145, allocations: 25.7 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.005198, allocations: 107.9 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.464e-06/0.005205, allocations: 7.953 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.005231, allocations: 17.72 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.403e-05/0.005305, allocations: 314.8 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.005319, allocations: 7.984 kB / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.699e-05/0.005336, allocations: 17.72 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.204e-05/0.005368, allocations: 25.66 kB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.00537, allocations: 8 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.613e-05/0.005426, allocations: 61.64 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.005438, allocations: 4 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.005442, allocations: 0 / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.005455, allocations: 0 / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.794e-05/0.005503, allocations: 11.94 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.005508, allocations: 3.938 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.41e-05/0.005522, allocations: 3.938 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.005527, allocations: 4 kB / 1.004 GB, free: 9.684 MB / 0.9636 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.481e-05/0.005582, allocations: 113.9 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.005603, allocations: 15.88 kB / 1.004 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.03e-05/0.005623, allocations: 11.47 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.005625, allocations: 0 / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.005628, allocations: 0 / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.005632, allocations: 3.938 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.00586, allocations: 414.5 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.005861, allocations: 0 / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-06/0.005869, allocations: 4 kB / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.00587, allocations: 0 / 1.004 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.005877, allocations: 8 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.005878, allocations: 4 kB / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005878, allocations: 0 / 1.004 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.39e-05/0.005932, allocations: 78.75 kB / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.005947, allocations: 7.984 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.288e-06/0.005956, allocations: 3.938 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-06/0.005965, allocations: 0 / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/0.005978, allocations: 7.984 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.005979, allocations: 0 / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.006019, allocations: 99.27 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006019, allocations: 0 / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000124/0.006143, allocations: 15.98 kB / 1.005 GB, free: 8.832 MB / 0.9636 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 7.166e-05/0.006215, allocations: 91.25 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.153e-05/0.006286, allocations: 19.94 kB / 1.005 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.006288, allocations: 3.938 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.023e-06/0.006295, allocations: 8 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/0.006403, allocations: 12.23 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.006651, allocations: 192.5 kB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.721e-05/0.006699, allocations: 79.33 kB / 1.005 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.006723, allocations: 12.5 kB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of SimCode: time 3.51e-07/0.006723, allocations: 0 / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of Templates: time 0.001475/0.008198, allocations: 0.8052 MB / 1.006 GB, free: 7.547 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 6.50850828550756]