Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.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.001556/0.001556, allocations: 110.5 kB / 18.88 MB, free: 3.055 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.001574/0.001574, allocations: 191.9 kB / 22.17 MB, free: 5.652 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.473/1.473, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.906/2.906, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.89 kB / 1.109 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.024, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002059/1.026, allocations: 0.6134 MB / 1.275 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001053/1.027, allocations: 0.8157 MB / 1.275 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.242e-05/1.027, allocations: 0 / 1.275 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/1.027, allocations: 0 / 1.275 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.535e-05/1.027, allocations: 7.922 kB / 1.275 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/1.028, allocations: 3.938 kB / 1.275 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.609e-05/1.028, allocations: 19.98 kB / 1.276 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.02e-05/1.028, allocations: 4 kB / 1.276 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.147e-05/1.028, allocations: 15.86 kB / 1.276 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.319e-05/1.028, allocations: 12 kB / 1.276 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/1.028, allocations: 0 / 1.276 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.295e-06/1.028, allocations: 0 / 1.276 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/1.028, allocations: 3.984 kB / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/1.028, allocations: 7.938 kB / 1.276 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.802e-05/1.028, allocations: 19.91 kB / 1.276 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.028, allocations: 0 / 1.276 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.974e-06/1.028, allocations: 0 / 1.276 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.193e-06/1.028, allocations: 0 / 1.276 GB, free: 2.984 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004698/1.028, allocations: 334.1 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/1.029, allocations: 16.03 kB / 1.276 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/1.029, allocations: 4.891 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/1.029, allocations: 168.4 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/1.029, allocations: 384 / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/1.029, allocations: 4.375 kB / 1.276 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/1.029, allocations: 42.17 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/1.029, allocations: 192 / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/1.029, allocations: 3.938 kB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/1.029, allocations: 0 / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.047e-05/1.029, allocations: 19.98 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/1.029, allocations: 153.7 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.895e-05/1.029, allocations: 18.61 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/1.029, allocations: 16.91 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/1.029, allocations: 3.938 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/1.029, allocations: 38.5 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/1.029, allocations: 4 kB / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002244/1.03, allocations: 53.62 kB / 1.276 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/1.03, allocations: 51.41 kB / 1.276 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.656e-05/1.03, allocations: 101.8 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/1.03, allocations: 25.7 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/1.03, allocations: 84.14 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/1.03, allocations: 3.953 kB / 1.277 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/1.03, allocations: 13.84 kB / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.03, allocations: 322.8 kB / 1.277 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.857e-05/1.03, allocations: 4 kB / 1.277 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.538e-05/1.03, allocations: 11.92 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.22e-05/1.03, allocations: 16.86 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.03, allocations: 0 / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001102/1.03, allocations: 57.67 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/1.03, allocations: 9.719 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.03, allocations: 3.938 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/1.03, allocations: 0 / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/1.03, allocations: 4 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/1.03, allocations: 0 / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/1.03, allocations: 3.984 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/1.03, allocations: 0 / 1.277 GB, free: 1.199 MB / 0.9669 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 (1): * Single equations (assignments): 1 * 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.783e-05/1.03, allocations: 114.4 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/1.03, allocations: 0 / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.82e-05/1.03, allocations: 11 kB / 1.277 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/1.03, allocations: 0 / 1.277 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/1.03, allocations: 0 / 1.277 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/1.03, allocations: 4 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/1.031, allocations: 149.7 kB / 1.277 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/1.031, allocations: 0 / 1.277 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.167e-05/1.031, allocations: 8.234 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.031, allocations: 0 / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/1.031, allocations: 7.938 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.031, allocations: 8 kB / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.031, allocations: 0 / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/1.031, allocations: 69.08 kB / 1.277 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/1.031, allocations: 81.09 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/1.031, allocations: 3.938 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.044e-05/1.031, allocations: 4 kB / 1.278 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/1.031, allocations: 4.031 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/1.031, allocations: 0 / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.257e-05/1.031, allocations: 91.2 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/1.031, allocations: 3.938 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001805/1.031, allocations: 4 kB / 1.278 GB, free: 0.5547 MB / 0.9669 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 (1): * Single equations (assignments): 1 * 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.0001473/1.031, allocations: 95.25 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000141/1.031, allocations: 19.98 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/1.031, allocations: 4.062 kB / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.709e-05/1.031, allocations: 4 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/1.032, allocations: 7.938 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/1.032, allocations: 130.4 kB / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/1.032, allocations: 0.6806 MB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.484e-05/1.032, allocations: 3.984 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/1.032, allocations: 11.5 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/1.032, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of Templates: time 0.0027/1.035, allocations: 286.2 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.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.130677146371454]