Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.001616/0.001616, 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.001772/0.001772, allocations: 220.7 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.164/3.164, allocations: 0.4892 GB / 0.7951 GB, free: 35.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [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.002242/0.002242, allocations: 65.75 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3732, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002297/0.3755, allocations: 0.6165 MB / 1.327 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3767, allocations: 0.8358 MB / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.3767, allocations: 0 / 1.328 GB, free: 428 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.3768, allocations: 4 kB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.807e-05/0.3768, allocations: 3.938 kB / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.377, allocations: 11.98 kB / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.887e-05/0.3771, allocations: 19.94 kB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.961e-05/0.3771, allocations: 7.984 kB / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.3773, allocations: 23.86 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.948e-05/0.3773, allocations: 0 / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.3774, allocations: 4 kB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.547e-05/0.3774, allocations: 15.92 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.3774, allocations: 0 / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.3774, allocations: 3.938 kB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.3775, allocations: 27.89 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.3776, allocations: 3.938 kB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.101e-05/0.3776, allocations: 4 kB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3776, allocations: 0 / 1.328 GB, free: 296 kB / 1.014 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.0004595/0.378, allocations: 254.4 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3781, allocations: 8.031 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.3782, allocations: 12.92 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.3784, allocations: 106.5 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.3784, allocations: 384 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.3784, allocations: 384 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.3785, allocations: 46.19 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3785, allocations: 192 / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.3785, allocations: 7.938 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.3785, allocations: 3.984 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.804e-05/0.3786, allocations: 11.98 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.3788, allocations: 101.3 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.931e-05/0.3789, allocations: 22.59 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.976e-05/0.3789, allocations: 16.92 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.3789, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.379, allocations: 34.5 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.379, allocations: 0 / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0002215/0.3792, allocations: 61.61 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.3792, allocations: 51.41 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.163e-05/0.3793, allocations: 105.8 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.3794, allocations: 25.7 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.3794, allocations: 80.14 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.3794, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.3795, allocations: 13.72 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3796, allocations: 314.8 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.999e-05/0.3796, allocations: 8.109 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.3797, allocations: 11.94 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.359e-05/0.3798, allocations: 24.84 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3798, allocations: 0 / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001124/0.3799, allocations: 49.64 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3799, allocations: 7.984 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3799, allocations: 3.938 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3799, allocations: 7.938 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.458e-05/0.38, allocations: 4.094 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.38, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.161e-05/0.38, allocations: 8.188 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.38, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 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.106e-05/0.3801, allocations: 109.8 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.3801, allocations: 4 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.3801, allocations: 11.09 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3801, allocations: 3.938 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3801, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3801, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.346e-05/0.3802, allocations: 113.2 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3802, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.3803, allocations: 4 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3803, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.3803, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3803, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.3803, allocations: 3.938 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.3804, allocations: 73.11 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.3804, allocations: 3.953 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.3805, allocations: 8.031 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.554e-05/0.3805, allocations: 0 / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.3805, allocations: 3.938 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.3805, allocations: 0 / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.385e-05/0.3806, allocations: 87.27 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3806, allocations: 7.938 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001875/0.3808, allocations: 0 / 1.33 GB, free: 14.25 MB / 1.029 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.0001222/0.3809, allocations: 99.23 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.381, allocations: 19.98 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.381, allocations: 0 / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.065e-05/0.3811, allocations: 11.98 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.3812, allocations: 2.344 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.3816, allocations: 132.6 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.988e-05/0.3816, allocations: 63.23 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.3816, allocations: 7.438 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3816, allocations: 4 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of Templates: time 0.002125/0.3838, allocations: 479.8 kB / 1.33 GB, free: 13.38 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.031136798206717]