Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002069/0.002069, 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.003147/0.003147, allocations: 211.3 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.604/1.604, allocations: 230.6 MB / 256 MB, free: 7.816 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 2.9/2.9, allocations: 475.9 MB / 0.7699 GB, free: 4.773 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.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.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.002232/0.002232, allocations: 66.11 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3761, allocations: 170 MB / 1.283 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002239/0.3783, allocations: 0.6676 MB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.3796, allocations: 0.8472 MB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.3796, allocations: 0 / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.3796, allocations: 0 / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.166e-05/0.3797, allocations: 7.938 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.3799, allocations: 7.984 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.488e-05/0.38, allocations: 27.92 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3801, allocations: 7.984 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.082e-05/0.3802, allocations: 8 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.3802, allocations: 11.92 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.3802, allocations: 0 / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.841e-05/0.3803, allocations: 12 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.3803, allocations: 0 / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.3803, allocations: 7.938 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.3804, allocations: 39.77 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3804, allocations: 0 / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.828e-06/0.3804, allocations: 3.984 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3805, allocations: 0 / 1.285 GB, free: 10.29 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000473/0.3809, allocations: 266.3 kB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.381, allocations: 12.02 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.474e-05/0.381, allocations: 4.938 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.3812, allocations: 102.5 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3812, allocations: 4.375 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.3812, allocations: 384 / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.3814, allocations: 50.23 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3814, allocations: 192 / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3814, allocations: 3.938 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3814, allocations: 4 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.3816, allocations: 39.89 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.3819, allocations: 196.5 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.382, allocations: 34.56 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.225e-05/0.3821, allocations: 24.89 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3821, allocations: 3.938 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.3822, allocations: 42.56 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.3822, allocations: 0 / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003679/0.3825, allocations: 85.58 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.3826, allocations: 51.41 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.3827, allocations: 93.86 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3827, allocations: 25.7 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.3828, allocations: 84.14 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.3828, allocations: 11.94 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.3828, allocations: 13.84 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.383, allocations: 322.8 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.182e-05/0.3831, allocations: 11.98 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/0.3832, allocations: 19.97 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.3833, allocations: 40.77 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3833, allocations: 0 / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002117/0.3835, allocations: 73.66 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3836, allocations: 4 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3836, allocations: 0 / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.3836, allocations: 0 / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.3837, allocations: 11.98 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3837, allocations: 0 / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/0.3838, allocations: 4 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.3838, allocations: 0 / 1.286 GB, free: 8.5 MB / 0.9825 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 0.0001746/0.3839, allocations: 117.9 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.384, allocations: 7.891 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.3842, allocations: 72.89 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3842, allocations: 4 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3842, allocations: 0 / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3843, allocations: 3.938 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.3844, allocations: 101.3 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3844, allocations: 4.172 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.3845, allocations: 8.031 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.3845, allocations: 7.938 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.3845, allocations: 3.984 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.3845, allocations: 0 / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3845, allocations: 0 / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.3848, allocations: 163.5 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.3848, allocations: 7.922 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.3848, allocations: 4 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.3849, allocations: 8.031 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.385, allocations: 3.984 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.385, allocations: 0 / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.873e-05/0.3851, allocations: 83.28 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3851, allocations: 0 / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002347/0.3853, allocations: 4 kB / 1.287 GB, free: 7.848 MB / 0.9825 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.0002259/0.3855, allocations: 91.25 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000262/0.3858, allocations: 47.89 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3858, allocations: 0 / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.822e-05/0.3859, allocations: 19.92 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.3863, allocations: 4 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.3867, allocations: 110.2 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.63e-05/0.3868, allocations: 59.34 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.681e-05/0.3868, allocations: 0 / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.3869, allocations: 15.56 kB / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3869, allocations: 0 / 1.287 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of Templates: time 0.003359/0.3902, allocations: 460 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.73870924115181]