Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002156/0.002156, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00259/0.00259, allocations: 213.9 kB / 22.24 MB, free: 4.855 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.665/1.665, allocations: 230.6 MB / 256 MB, free: 7.809 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.592/3.592, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_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_latest_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.002149/0.002149, allocations: 72.56 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4273, allocations: 181.9 MB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002778/0.4301, allocations: 0.6648 MB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.4315, allocations: 0.8514 MB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.4315, allocations: 0 / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.4315, allocations: 0 / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.838e-05/0.4316, allocations: 7.938 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.4319, allocations: 15.91 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.787e-05/0.432, allocations: 23.98 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.4321, allocations: 0 / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.154e-05/0.4322, allocations: 15.88 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.6e-05/0.4322, allocations: 7.984 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.4322, allocations: 4 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.257e-05/0.4323, allocations: 8 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.4323, allocations: 7.938 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.4323, allocations: 7.984 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.4324, allocations: 31.83 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4324, allocations: 0 / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4324, allocations: 0 / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.4325, allocations: 0 / 1.365 GB, free: 11.88 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006084/0.4331, allocations: 258.4 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4331, allocations: 11.97 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.4332, allocations: 8.891 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.4333, allocations: 106.5 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.4334, allocations: 8.359 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.4334, allocations: 4.375 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.4336, allocations: 42.25 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4336, allocations: 192 / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.4336, allocations: 7.938 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.4336, allocations: 7.922 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.4338, allocations: 31.97 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.4341, allocations: 188.5 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.4343, allocations: 42.59 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.4343, allocations: 20.91 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.4344, allocations: 7.938 kB / 1.366 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.4344, allocations: 34.5 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4344, allocations: 0 / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003536/0.4348, allocations: 85.73 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.4348, allocations: 51.41 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.985e-05/0.4349, allocations: 101.8 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.4349, allocations: 29.7 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.4351, allocations: 88.09 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.4351, allocations: 3.953 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.4351, allocations: 13.72 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4353, allocations: 318.8 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.807e-05/0.4353, allocations: 11.98 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.426e-05/0.4354, allocations: 24.02 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.4356, allocations: 36.77 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4356, allocations: 0 / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001879/0.4357, allocations: 69.59 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.4358, allocations: 4 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4358, allocations: 4 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4358, allocations: 8.094 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.061e-05/0.4359, allocations: 7.984 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4359, allocations: 0 / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.4359, allocations: 7.984 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.4359, allocations: 0 / 1.367 GB, free: 10.09 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 (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 9.07e-05/0.436, allocations: 113.8 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.4361, allocations: 3.938 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.4363, allocations: 76.91 kB / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4363, allocations: 0 / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4363, allocations: 0 / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4363, allocations: 0 / 1.367 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.4364, allocations: 109.2 kB / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4364, allocations: 0 / 1.367 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.884e-05/0.4365, allocations: 12.17 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.4365, allocations: 3.938 kB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.4365, allocations: 0 / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4365, allocations: 0 / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4365, allocations: 3.984 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.4368, allocations: 171.4 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.425e-05/0.4368, allocations: 7.938 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.4368, allocations: 0 / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.4369, allocations: 7.984 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.4369, allocations: 0 / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.4369, allocations: 3.938 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.267e-05/0.437, allocations: 83.28 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.437, allocations: 0 / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002128/0.4372, allocations: 12.02 kB / 1.368 GB, free: 9.426 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 (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.0001368/0.4374, allocations: 91.25 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.4376, allocations: 35.97 kB / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4376, allocations: 0 / 1.368 GB, free: 9.289 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.983e-05/0.4377, allocations: 23.91 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.438, allocations: 8.125 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.4383, allocations: 106.3 kB / 1.368 GB, free: 9.129 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.057e-05/0.4384, allocations: 63.33 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.034e-05/0.4384, allocations: 0 / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.4384, allocations: 11.44 kB / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4384, allocations: 0 / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of Templates: time 0.002949/0.4414, allocations: 469 kB / 1.368 GB, free: 8.586 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.014677431434393]