Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001182/0.001182, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001867/0.003049, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001176/0.001176, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001523/0.0027, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.055/1.055, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1131/1.168, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.588/2.588, allocations: 447.1 MB / 0.675 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3167/2.904, allocations: 146 MB / 0.8176 GB, free: 3.801 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 0 / 0.819 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.863e-05, allocations: 10.31 kB / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001595/0.001624, allocations: 0.6665 MB / 0.8196 GB, free: 1.762 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008592/0.002483, allocations: 0.8625 MB / 0.8205 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.328e-05/0.002516, allocations: 4 kB / 0.8205 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.002541, allocations: 3.938 kB / 0.8205 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.397e-05/0.002575, allocations: 0 / 0.8205 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001053/0.002681, allocations: 15.91 kB / 0.8205 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.793e-05/0.002779, allocations: 23.88 kB / 0.8205 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 5.646e-05/0.002835, allocations: 4 kB / 0.8205 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.003022, allocations: 19.92 kB / 0.8205 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.609e-05/0.003098, allocations: 7.984 kB / 0.8205 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.003114, allocations: 0 / 0.8205 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.763e-05/0.003192, allocations: 11.92 kB / 0.8205 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.003213, allocations: 4 kB / 0.8205 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.003234, allocations: 4 kB / 0.8206 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.003365, allocations: 15.98 kB / 0.8206 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.96e-05/0.003385, allocations: 0 / 0.8206 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.377e-06/0.003388, allocations: 4 kB / 0.8206 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.848e-05/0.003407, allocations: 0 / 0.8206 GB, free: 0.7695 MB / 0.7917 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.0004468/0.003854, allocations: 232.5 kB / 0.8208 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.003893, allocations: 8.031 kB / 0.8208 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002898/0.004183, allocations: 90.03 kB / 0.8209 GB, free: 412 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.004304, allocations: 113.7 kB / 0.821 GB, free: 272 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.004316, allocations: 384 / 0.821 GB, free: 272 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.004328, allocations: 384 / 0.821 GB, free: 272 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.00444, allocations: 50.89 kB / 0.821 GB, free: 212 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.004451, allocations: 4.188 kB / 0.821 GB, free: 208 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.004458, allocations: 384 / 0.821 GB, free: 208 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.004464, allocations: 384 / 0.821 GB, free: 208 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.313e-05/0.004477, allocations: 7.938 kB / 0.8211 GB, free: 200 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.671e-05/0.004574, allocations: 57.05 kB / 0.8211 GB, free: 128 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.327e-05/0.004617, allocations: 18.61 kB / 0.8211 GB, free: 100 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.379e-05/0.004631, allocations: 4.859 kB / 0.8211 GB, free: 92 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.004648, allocations: 0 / 0.8211 GB, free: 92 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.004676, allocations: 38.61 kB / 0.8212 GB, free: 44 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 4.5e-07/0.004676, allocations: 3.938 kB / 0.8212 GB, free: 40 kB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001244/0.004801, allocations: 33.7 kB / 0.8212 GB, free: 0 / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.004846, allocations: 51.41 kB / 0.8213 GB, free: 15.94 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.832e-05/0.004914, allocations: 106.7 kB / 0.8214 GB, free: 15.82 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.004926, allocations: 25.7 kB / 0.8214 GB, free: 15.79 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.004951, allocations: 84.12 kB / 0.8215 GB, free: 15.7 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.004979, allocations: 0 / 0.8215 GB, free: 15.7 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.005007, allocations: 17.72 kB / 0.8215 GB, free: 15.68 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 8.47e-05/0.005092, allocations: 318.8 kB / 0.8218 GB, free: 15.36 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.005101, allocations: 0 / 0.8218 GB, free: 15.36 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.764e-06/0.005109, allocations: 4 kB / 0.8218 GB, free: 15.36 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.901e-05/0.005138, allocations: 12.98 kB / 0.8218 GB, free: 15.34 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.00514, allocations: 256 / 0.8218 GB, free: 15.34 MB / 0.8074 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.615e-05/0.005187, allocations: 33.7 kB / 0.8218 GB, free: 15.3 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.0052, allocations: 4 kB / 0.8218 GB, free: 15.3 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.005209, allocations: 7.984 kB / 0.8218 GB, free: 15.29 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.005225, allocations: 0 / 0.8218 GB, free: 15.29 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.005299, allocations: 4 kB / 0.8218 GB, free: 15.29 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.005301, allocations: 0 / 0.8218 GB, free: 15.29 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.005314, allocations: 3.938 kB / 0.8219 GB, free: 15.28 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.00532, allocations: 0 / 0.8219 GB, free: 15.28 MB / 0.8074 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 5.3e-05/0.005373, allocations: 117.8 kB / 0.822 GB, free: 15.16 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-06/0.005379, allocations: 3.984 kB / 0.822 GB, free: 15.15 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.0054, allocations: 3.156 kB / 0.822 GB, free: 15.15 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.005402, allocations: 0 / 0.822 GB, free: 15.15 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.005403, allocations: 4 kB / 0.822 GB, free: 15.15 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.005407, allocations: 3.938 kB / 0.822 GB, free: 15.14 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.4e-05/0.005461, allocations: 69.83 kB / 0.822 GB, free: 15.06 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.005462, allocations: 0 / 0.822 GB, free: 15.06 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.005481, allocations: 7.969 kB / 0.8221 GB, free: 15.05 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.005491, allocations: 11.95 kB / 0.8221 GB, free: 15.04 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-06/0.005492, allocations: 4 kB / 0.8221 GB, free: 15.04 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.005497, allocations: 4 kB / 0.8221 GB, free: 15.03 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.005497, allocations: 0 / 0.8221 GB, free: 15.03 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.005498, allocations: 0 / 0.8221 GB, free: 15.03 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.736e-05/0.005575, allocations: 61.06 kB / 0.8221 GB, free: 14.95 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-06/0.005584, allocations: 0 / 0.8221 GB, free: 14.95 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-06/0.005593, allocations: 0 / 0.8221 GB, free: 14.95 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.005617, allocations: 4 kB / 0.8221 GB, free: 14.95 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.005619, allocations: 0 / 0.8221 GB, free: 14.95 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 1.483e-05/0.005634, allocations: 12.84 kB / 0.8221 GB, free: 14.93 MB / 0.8074 GB Notification: Performance of sort global known variables: time 5e-08/0.005634, allocations: 4.031 kB / 0.8221 GB, free: 14.93 MB / 0.8074 GB Notification: Performance of remove unused functions: time 8.529e-05/0.005719, allocations: 0 / 0.8221 GB, free: 14.93 MB / 0.8074 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.0001116/0.005831, allocations: 80.36 kB / 0.8222 GB, free: 14.84 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 6.109e-05/0.005892, allocations: 8.859 kB / 0.8222 GB, free: 14.83 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.005898, allocations: 0 / 0.8222 GB, free: 14.83 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 1.709e-05/0.005915, allocations: 12.84 kB / 0.8222 GB, free: 14.81 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.73e-05/0.005992, allocations: 15.88 kB / 0.8223 GB, free: 14.8 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007322/0.006724, allocations: 128.8 kB / 0.8224 GB, free: 14.64 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.323e-05/0.006768, allocations: 51.36 kB / 0.8224 GB, free: 14.57 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 2.244e-05/0.00679, allocations: 3.984 kB / 0.8224 GB, free: 14.57 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.006839, allocations: 51.38 kB / 0.8225 GB, free: 14.52 MB / 0.8074 GB Notification: Performance of SimCode: time 1.783e-06/0.006841, allocations: 0 / 0.8225 GB, free: 14.52 MB / 0.8074 GB Notification: Performance of Templates: time 0.00213/0.008971, allocations: 307.3 kB / 0.8228 GB, free: 14.21 MB / 0.8074 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6025084080174565]