Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001311/0.001311, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001447/0.001447, allocations: 220.8 kB / 23 MB, free: 4.914 MB / 14.72 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 3.367/3.367, allocations: 0.5107 GB / 0.8166 GB, free: 17.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 68.3 kB / 1.187 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4067, allocations: 181.9 MB / 1.365 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.003393/0.4101, allocations: 0.7985 MB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002056/0.4103, allocations: 39.78 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.159e-05/0.4104, allocations: 0 / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.589e-05/0.4104, allocations: 11.86 kB / 1.365 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.848e-05/0.4105, allocations: 15.88 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.783e-05/0.4106, allocations: 11.98 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.4107, allocations: 71.83 kB / 1.366 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.4109, allocations: 27.97 kB / 1.366 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.409e-05/0.411, allocations: 23.88 kB / 1.366 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.391e-05/0.411, allocations: 23.84 kB / 1.366 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.4111, allocations: 8 kB / 1.366 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.4111, allocations: 7.938 kB / 1.366 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/0.4111, allocations: 15.94 kB / 1.366 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.4112, allocations: 27.8 kB / 1.366 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.4113, allocations: 79.58 kB / 1.366 GB, free: 12.36 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.4113, allocations: 0 / 1.366 GB, free: 12.36 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4113, allocations: 0 / 1.366 GB, free: 12.36 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.4113, allocations: 4 kB / 1.366 GB, free: 12.36 MB / 1.061 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.0005001/0.4118, allocations: 302 kB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.4119, allocations: 12.03 kB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.4119, allocations: 12.84 kB / 1.366 GB, free: 12.01 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.4121, allocations: 134.4 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.4122, allocations: 4.375 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.4122, allocations: 8.375 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.4124, allocations: 95.84 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4124, allocations: 4.125 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.4124, allocations: 3.938 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.4124, allocations: 8 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.975e-05/0.4125, allocations: 35.98 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.4131, allocations: 360.5 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.241e-05/0.4132, allocations: 37.14 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.4132, allocations: 17.84 kB / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.158e-06/0.4132, allocations: 4 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.4132, allocations: 34.5 kB / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4132, allocations: 3.938 kB / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001811/0.4134, allocations: 57.58 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.4135, allocations: 85.05 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.4137, allocations: 129.1 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.4137, allocations: 29.7 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.4139, allocations: 111.9 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.173e-05/0.4139, allocations: 7.953 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.4139, allocations: 13.72 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4141, allocations: 318.8 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.4141, allocations: 3.984 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.569e-05/0.4141, allocations: 21.97 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.673e-05/0.4142, allocations: 25.72 kB / 1.368 GB, free: 10.31 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4142, allocations: 3.938 kB / 1.368 GB, free: 10.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.484e-05/0.4143, allocations: 53.69 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.4143, allocations: 9.875 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4143, allocations: 0 / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.4143, allocations: 3.938 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.4144, allocations: 4 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.4144, allocations: 7.938 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.711e-05/0.4144, allocations: 8.016 kB / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.4144, allocations: 0 / 1.368 GB, free: 10.22 MB / 1.061 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.0001035/0.4145, allocations: 118.9 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.4145, allocations: 7.984 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.4146, allocations: 11.41 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4146, allocations: 4 kB / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4146, allocations: 0 / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-06/0.4146, allocations: 0 / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.415, allocations: 418.4 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.415, allocations: 8 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.4151, allocations: 4 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4151, allocations: 0 / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.4151, allocations: 0 / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.4151, allocations: 0 / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4151, allocations: 4 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.332e-05/0.4152, allocations: 73.92 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.299e-05/0.4152, allocations: 7.891 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.4152, allocations: 11.94 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.717e-05/0.4152, allocations: 0 / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.4152, allocations: 8.016 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.4152, allocations: 0 / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.308e-05/0.4153, allocations: 103.3 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4153, allocations: 0 / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002153/0.4155, allocations: 15.95 kB / 1.368 GB, free: 9.355 MB / 1.061 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.0001149/0.4156, allocations: 91.25 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.693e-05/0.4157, allocations: 19.94 kB / 1.369 GB, free: 9.238 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4157, allocations: 0 / 1.369 GB, free: 9.238 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.417e-05/0.4157, allocations: 8.188 kB / 1.369 GB, free: 9.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.4159, allocations: 15.86 kB / 1.369 GB, free: 9.215 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.4163, allocations: 172.5 kB / 1.369 GB, free: 9.004 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.073e-05/0.4164, allocations: 83.12 kB / 1.369 GB, free: 8.902 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.4164, allocations: 11.44 kB / 1.369 GB, free: 8.891 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/0.4164, allocations: 0 / 1.369 GB, free: 8.891 MB / 1.061 GB Notification: Performance of Templates: time 0.00242/0.4188, allocations: 0.8014 MB / 1.37 GB, free: 8.094 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.28504910506308]