Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001819/0.001819, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002207/0.002207, allocations: 211.4 kB / 22.24 MB, free: 5.262 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.643/1.643, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.15/3.15, allocations: 476 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.002192/0.002192, allocations: 68.53 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.405, allocations: 169.9 MB / 1.283 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002838/0.4078, allocations: 0.7993 MB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002192/0.408, allocations: 43.78 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.658e-05/0.4081, allocations: 0 / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.562e-05/0.4082, allocations: 7.875 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.4083, allocations: 7.938 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.238e-05/0.4084, allocations: 27.91 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.4085, allocations: 55.84 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.4087, allocations: 31.97 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.4089, allocations: 31.86 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.685e-05/0.4089, allocations: 19.86 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.409, allocations: 8 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.49e-05/0.409, allocations: 8 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.409, allocations: 15.86 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.4091, allocations: 31.75 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.4092, allocations: 79.56 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4092, allocations: 4 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.395e-06/0.4093, allocations: 0 / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.146e-06/0.4093, allocations: 0 / 1.284 GB, free: 10.76 MB / 0.9825 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.0006364/0.4099, allocations: 310.1 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.4099, allocations: 8.031 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.41, allocations: 8.891 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.4103, allocations: 138.3 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.4103, allocations: 12.36 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.4104, allocations: 8.375 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.4106, allocations: 98.19 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.4106, allocations: 4.188 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/0.4106, allocations: 7.938 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4107, allocations: 3.938 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.294e-05/0.4107, allocations: 31.98 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006769/0.4114, allocations: 360.4 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.697e-05/0.4115, allocations: 37.41 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.4115, allocations: 21.72 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.4116, allocations: 0 / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.4116, allocations: 38.5 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4116, allocations: 3.938 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002124/0.4118, allocations: 57.58 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.651e-05/0.4119, allocations: 85.3 kB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.412, allocations: 129.5 kB / 1.285 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.412, allocations: 25.7 kB / 1.285 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.4122, allocations: 111.9 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.129e-05/0.4122, allocations: 7.953 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.4122, allocations: 13.72 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.4124, allocations: 318.8 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.251e-05/0.4124, allocations: 8 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/0.4124, allocations: 13.72 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.435e-05/0.4125, allocations: 29.72 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.4125, allocations: 0 / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001148/0.4126, allocations: 61.58 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4126, allocations: 4 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4126, allocations: 0 / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4126, allocations: 3.938 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.303e-05/0.4127, allocations: 8 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.4127, allocations: 0 / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.379e-05/0.4128, allocations: 11.92 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.4128, allocations: 4 kB / 1.286 GB, free: 8.609 MB / 0.9825 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.0001076/0.4129, allocations: 121.8 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/0.4129, allocations: 7.953 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.118e-05/0.413, allocations: 11.41 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.413, allocations: 0 / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.413, allocations: 0 / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.413, allocations: 0 / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.4134, allocations: 410.5 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4134, allocations: 3.938 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.4134, allocations: 4 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4134, allocations: 4.062 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.4134, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4134, allocations: 4 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4134, allocations: 0 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.4136, allocations: 77.94 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.4136, allocations: 15.81 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.4136, allocations: 3.984 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.4136, allocations: 4 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/0.4137, allocations: 4 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.4137, allocations: 0 / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.989e-05/0.4137, allocations: 99.3 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4137, allocations: 4 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001991/0.4139, allocations: 11.95 kB / 1.287 GB, free: 7.762 MB / 0.9825 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.0001464/0.4141, allocations: 95.25 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001123/0.4142, allocations: 19.92 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4142, allocations: 0 / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.4142, allocations: 4 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.4144, allocations: 11.94 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.4148, allocations: 159 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.239e-05/0.4149, allocations: 87.12 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.435e-05/0.4149, allocations: 4.078 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.415, allocations: 11.44 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.415, allocations: 0 / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of Templates: time 0.003372/0.4184, allocations: 364.2 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.96312146820128]