Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 188.6 kB / 22.23 MB, free: 5.09 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 225.6 MB / 251 MB, free: 13.19 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.802/2.802, allocations: 443.5 MB / 0.7321 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.89 kB / 1.062 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 160.8 MB / 1.219 GB, free: 3.684 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002495/1.064, allocations: 0.6681 MB / 1.219 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001181/1.065, allocations: 0.8143 MB / 1.22 GB, free: 2.52 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.064e-05/1.065, allocations: 1.031 kB / 1.22 GB, free: 2.52 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/1.065, allocations: 0 / 1.22 GB, free: 2.52 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.717e-05/1.065, allocations: 9.016 kB / 1.22 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/1.065, allocations: 9.078 kB / 1.22 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.915e-05/1.066, allocations: 25.3 kB / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/1.066, allocations: 10.59 kB / 1.22 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.941e-05/1.066, allocations: 15.45 kB / 1.22 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.929e-05/1.066, allocations: 7.469 kB / 1.22 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/1.066, allocations: 1.219 kB / 1.22 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-06/1.066, allocations: 2.219 kB / 1.22 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/1.066, allocations: 5.078 kB / 1.22 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/1.066, allocations: 10.44 kB / 1.22 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/1.066, allocations: 27.39 kB / 1.22 GB, free: 2.434 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/1.066, allocations: 1.281 kB / 1.22 GB, free: 2.434 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.663e-06/1.066, allocations: 0 / 1.22 GB, free: 2.434 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.174e-06/1.066, allocations: 0 / 1.22 GB, free: 2.434 MB / 0.92 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.0006836/1.067, allocations: 343.5 kB / 1.22 GB, free: 2.062 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/1.067, allocations: 9.562 kB / 1.22 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/1.067, allocations: 6.156 kB / 1.22 GB, free: 2.059 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/1.067, allocations: 169.5 kB / 1.221 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/1.067, allocations: 1.562 kB / 1.221 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/1.067, allocations: 5.594 kB / 1.221 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/1.067, allocations: 41.38 kB / 1.221 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/1.067, allocations: 8.172 kB / 1.221 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/1.067, allocations: 9.281 kB / 1.221 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/1.067, allocations: 3.938 kB / 1.221 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/1.067, allocations: 30.72 kB / 1.221 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/1.068, allocations: 248 kB / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/1.068, allocations: 43.59 kB / 1.221 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.264e-05/1.068, allocations: 21.72 kB / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/1.068, allocations: 1.188 kB / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/1.068, allocations: 30.56 kB / 1.221 GB, free: 1.406 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/1.068, allocations: 1.25 kB / 1.221 GB, free: 1.406 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003828/1.069, allocations: 92.3 kB / 1.221 GB, free: 1.34 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/1.069, allocations: 51.41 kB / 1.221 GB, free: 1.277 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/1.069, allocations: 102.9 kB / 1.221 GB, free: 1.172 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/1.069, allocations: 26.86 kB / 1.221 GB, free: 1.141 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/1.069, allocations: 80.14 kB / 1.221 GB, free: 1.059 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/1.069, allocations: 5.453 kB / 1.221 GB, free: 1.055 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/1.069, allocations: 16.28 kB / 1.221 GB, free: 1.035 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.069, allocations: 320.3 kB / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.078e-05/1.069, allocations: 17.08 kB / 1.222 GB, free: 0.707 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.864e-05/1.069, allocations: 12.95 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/1.069, allocations: 35.92 kB / 1.222 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/1.069, allocations: 0 / 1.222 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002009/1.07, allocations: 80.17 kB / 1.222 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.07, allocations: 5.156 kB / 1.222 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/1.07, allocations: 0 / 1.222 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/1.07, allocations: 1.125 kB / 1.222 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/1.07, allocations: 10.45 kB / 1.222 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/1.07, allocations: 0 / 1.222 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.032e-05/1.07, allocations: 11.67 kB / 1.222 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/1.07, allocations: 4.984 kB / 1.222 GB, free: 0.6055 MB / 0.92 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 9.363e-05/1.07, allocations: 122.3 kB / 1.222 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/1.07, allocations: 1.156 kB / 1.222 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/1.07, allocations: 75.16 kB / 1.222 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/1.07, allocations: 1.062 kB / 1.222 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/1.07, allocations: 3.984 kB / 1.222 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-06/1.07, allocations: 0 / 1.222 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/1.07, allocations: 162.1 kB / 1.222 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.07, allocations: 5.156 kB / 1.222 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.905e-05/1.07, allocations: 9.672 kB / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/1.07, allocations: 0 / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/1.07, allocations: 1.219 kB / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.07, allocations: 0 / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.07, allocations: 4.906 kB / 1.222 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/1.071, allocations: 166.4 kB / 1.222 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/1.071, allocations: 86.31 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/1.071, allocations: 1.281 kB / 1.222 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/1.071, allocations: 10.86 kB / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/1.071, allocations: 4.938 kB / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/1.071, allocations: 1.188 kB / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.628e-05/1.071, allocations: 78.72 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.071, allocations: 0 / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002282/1.071, allocations: 4.219 kB / 1.223 GB, free: 15.86 MB / 0.9356 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.0001458/1.071, allocations: 108.5 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002214/1.071, allocations: 32.91 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.071, allocations: 0 / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.901e-05/1.072, allocations: 15.02 kB / 1.223 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/1.072, allocations: 15.23 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/1.072, allocations: 116.8 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/1.073, allocations: 0.673 MB / 1.223 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.87e-05/1.073, allocations: 1.031 kB / 1.223 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/1.073, allocations: 8.406 kB / 1.223 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/1.073, allocations: 0 / 1.223 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of Templates: time 0.003146/1.076, allocations: 451 kB / 1.224 GB, free: 14.68 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.47195350099355]