Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.001968/0.001968, allocations: 80.69 kB / 19.18 MB, free: 2.52 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.002391/0.002391, allocations: 163.3 kB / 22.45 MB, free: 5.375 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.529/1.529, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.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 2.936/2.936, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] 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.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 1 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.59e-05, allocations: 6.219 kB / 1 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001856/0.001891, allocations: 0.6659 MB / 1.001 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.003019, allocations: 0.8471 MB / 1.002 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.689e-05/0.003055, allocations: 0 / 1.002 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.003084, allocations: 0 / 1.002 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.865e-05/0.003143, allocations: 7.875 kB / 1.002 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.003327, allocations: 11.98 kB / 1.002 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.225e-05/0.00341, allocations: 23.92 kB / 1.002 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.003505, allocations: 11.98 kB / 1.002 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.918e-05/0.003574, allocations: 11.98 kB / 1.002 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.633e-05/0.00361, allocations: 8 kB / 1.002 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.003625, allocations: 0 / 1.002 GB, free: 5.617 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.395e-05/0.003669, allocations: 11.98 kB / 1.002 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.003683, allocations: 3.938 kB / 1.002 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.003703, allocations: 4 kB / 1.002 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.003814, allocations: 35.88 kB / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.003817, allocations: 0 / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003818, allocations: 0 / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003821, allocations: 4 kB / 1.002 GB, free: 5.559 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005048/0.004326, allocations: 262.3 kB / 1.002 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.004366, allocations: 8.031 kB / 1.002 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.004444, allocations: 8.922 kB / 1.002 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.004565, allocations: 109.7 kB / 1.002 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.004576, allocations: 4.375 kB / 1.002 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.004588, allocations: 384 / 1.002 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.004763, allocations: 50.23 kB / 1.002 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.004771, allocations: 4.125 kB / 1.002 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.00478, allocations: 4.375 kB / 1.002 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.004784, allocations: 384 / 1.002 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.004957, allocations: 39.89 kB / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.005278, allocations: 188.6 kB / 1.002 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.005414, allocations: 38.5 kB / 1.002 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.066e-05/0.005505, allocations: 20.89 kB / 1.003 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.00552, allocations: 0 / 1.003 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.005558, allocations: 46.5 kB / 1.003 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.005559, allocations: 0 / 1.003 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003785/0.005938, allocations: 85.53 kB / 1.003 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.00598, allocations: 55.34 kB / 1.003 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.24e-05/0.006073, allocations: 97.86 kB / 1.003 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.00609, allocations: 25.7 kB / 1.003 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.006143, allocations: 88.12 kB / 1.003 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.006162, allocations: 8.078 kB / 1.003 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.006206, allocations: 13.72 kB / 1.003 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.00637, allocations: 314.8 kB / 1.003 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.8e-05/0.006458, allocations: 15.98 kB / 1.003 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.706e-05/0.006535, allocations: 15.97 kB / 1.003 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.006696, allocations: 36.83 kB / 1.003 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.006697, allocations: 0 / 1.003 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002087/0.006906, allocations: 77.66 kB / 1.003 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.006922, allocations: 4 kB / 1.003 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.006928, allocations: 3.938 kB / 1.003 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.006946, allocations: 0 / 1.003 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.231e-05/0.007038, allocations: 11.98 kB / 1.003 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.007043, allocations: 0 / 1.003 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.105e-05/0.007094, allocations: 4 kB / 1.003 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.007102, allocations: 4 kB / 1.003 GB, free: 3.77 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 8.799e-05/0.00719, allocations: 114.4 kB / 1.003 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.007216, allocations: 3.984 kB / 1.003 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.007456, allocations: 72.91 kB / 1.004 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.007458, allocations: 4 kB / 1.004 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.007462, allocations: 0 / 1.004 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.007465, allocations: 0 / 1.004 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.00761, allocations: 113.2 kB / 1.004 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.007611, allocations: 0 / 1.004 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.221e-05/0.007673, allocations: 15.97 kB / 1.004 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.007675, allocations: 0 / 1.004 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.007681, allocations: 0 / 1.004 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.007686, allocations: 3.938 kB / 1.004 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.00769, allocations: 4.172 kB / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.007949, allocations: 155.5 kB / 1.004 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.00796, allocations: 7.969 kB / 1.004 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.007972, allocations: 4 kB / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.227e-05/0.008054, allocations: 11.97 kB / 1.004 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.008098, allocations: 7.984 kB / 1.004 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.008101, allocations: 0 / 1.004 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.112e-05/0.008152, allocations: 79.28 kB / 1.004 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.008152, allocations: 3.938 kB / 1.004 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002197/0.008372, allocations: 4 kB / 1.004 GB, free: 3.109 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001298/0.008502, allocations: 91.25 kB / 1.004 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.008723, allocations: 43.89 kB / 1.004 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.008727, allocations: 4 kB / 1.004 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.008815, allocations: 15.98 kB / 1.004 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.009112, allocations: 4 kB / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.009428, allocations: 112.8 kB / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.024e-05/0.009488, allocations: 59.34 kB / 1.004 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.653e-05/0.009515, allocations: 8.125 kB / 1.004 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.009544, allocations: 12.5 kB / 1.004 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.009545, allocations: 3.938 kB / 1.004 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of Templates: time 0.002977/0.01252, allocations: 451.6 kB / 1.005 GB, free: 2.27 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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: 8.372522871941328]