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.001871/0.001871, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002539/0.002539, allocations: 214.1 kB / 22.99 MB, free: 4.945 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.287/3.287, allocations: 0.5107 GB / 0.8166 GB, free: 17.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: 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.002062/0.002062, allocations: 68 kB / 1.187 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3547, allocations: 181.9 MB / 1.365 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001985/0.3566, allocations: 0.6153 MB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3577, allocations: 0.8475 MB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/0.3578, allocations: 0 / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.362e-05/0.3578, allocations: 0 / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.178e-05/0.3579, allocations: 7.922 kB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.3581, allocations: 7.938 kB / 1.366 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.112e-05/0.3581, allocations: 27.92 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.3582, allocations: 0 / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.3583, allocations: 11.98 kB / 1.366 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.654e-05/0.3584, allocations: 15.92 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.3584, allocations: 0 / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.382e-05/0.3584, allocations: 4 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.017e-06/0.3584, allocations: 0 / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.3585, allocations: 19.86 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.842e-05/0.3586, allocations: 11.92 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3586, allocations: 0 / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3586, allocations: 4 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.3586, allocations: 4 kB / 1.366 GB, free: 11.91 MB / 1.061 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.0004277/0.359, allocations: 246.4 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.359, allocations: 8.031 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.3592, allocations: 16.88 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3593, allocations: 114.5 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.3593, allocations: 4.312 kB / 1.367 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-06/0.3593, allocations: 384 / 1.367 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.3595, allocations: 34.27 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3595, allocations: 4.188 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.3595, allocations: 11.92 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3595, allocations: 0 / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.752e-05/0.3595, allocations: 8 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.3597, allocations: 105.3 kB / 1.367 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.941e-05/0.3598, allocations: 26.52 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/0.3598, allocations: 12.91 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.3598, allocations: 0 / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.3599, allocations: 34.56 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.3599, allocations: 0 / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0002194/0.3601, allocations: 65.59 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.3601, allocations: 51.41 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.43e-05/0.3602, allocations: 101.8 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.3603, allocations: 29.7 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.3603, allocations: 84.12 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.3603, allocations: 7.938 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.3604, allocations: 13.72 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3605, allocations: 314.8 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.534e-05/0.3605, allocations: 8.359 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.229e-05/0.3606, allocations: 12 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.942e-05/0.3606, allocations: 20.84 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3607, allocations: 4 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001072/0.3608, allocations: 45.69 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3608, allocations: 4 kB / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.3608, allocations: 0 / 1.368 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3608, allocations: 7.875 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.943e-05/0.3609, allocations: 12.08 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3609, allocations: 0 / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.3609, allocations: 0 / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.3609, allocations: 4 kB / 1.368 GB, free: 10.35 MB / 1.061 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.043e-05/0.361, allocations: 110.9 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.361, allocations: 0 / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.361, allocations: 15.09 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.361, allocations: 3.938 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.361, allocations: 3.984 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.361, allocations: 0 / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.569e-05/0.3611, allocations: 109.2 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3611, allocations: 0 / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.3611, allocations: 7.984 kB / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3611, allocations: 0 / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.3612, allocations: 0 / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3612, allocations: 0 / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3612, allocations: 3.938 kB / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.3613, allocations: 73.06 kB / 1.368 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-06/0.3613, allocations: 0 / 1.368 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.3613, allocations: 32 / 1.368 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.477e-05/0.3613, allocations: 15.98 kB / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.3614, allocations: 3.938 kB / 1.368 GB, free: 9.949 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.3614, allocations: 0 / 1.368 GB, free: 9.949 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.3614, allocations: 79.28 kB / 1.368 GB, free: 9.871 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3614, allocations: 0 / 1.368 GB, free: 9.871 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001834/0.3616, allocations: 4 kB / 1.368 GB, free: 9.867 MB / 1.061 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.000121/0.3617, allocations: 97.91 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.3618, allocations: 23.98 kB / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3619, allocations: 0 / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/0.3619, allocations: 4 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.362, allocations: 11.67 kB / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.3623, allocations: 135.1 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.603e-05/0.3624, allocations: 63.34 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.3624, allocations: 7.438 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.3624, allocations: 0 / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of Templates: time 0.002009/0.3644, allocations: 477.2 kB / 1.369 GB, free: 9.012 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.058416324667633]