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.001635/0.001635, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.001804/0.001804, allocations: 223.9 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.354/3.354, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 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.002309/0.002309, allocations: 64.11 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3606, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001973/0.3626, allocations: 0.671 MB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3637, allocations: 0.8475 MB / 1.366 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.3637, allocations: 0 / 1.366 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.748e-05/0.3637, allocations: 4 kB / 1.366 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.529e-05/0.3638, allocations: 7.938 kB / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.364, allocations: 7.984 kB / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.308e-05/0.3641, allocations: 27.92 kB / 1.366 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.715e-05/0.3642, allocations: 0 / 1.366 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.771e-05/0.3642, allocations: 19.91 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.805e-05/0.3643, allocations: 11.88 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.3643, allocations: 4 kB / 1.366 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.705e-05/0.3643, allocations: 4 kB / 1.366 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.3643, allocations: 11.92 kB / 1.366 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.3644, allocations: 4 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.3645, allocations: 35.83 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3645, allocations: 0 / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3645, allocations: 0 / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3645, allocations: 0 / 1.366 GB, free: 11.92 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.0004795/0.365, allocations: 258.4 kB / 1.367 GB, free: 11.63 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.365, allocations: 8.031 kB / 1.367 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.279e-05/0.3651, allocations: 8.891 kB / 1.367 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.3652, allocations: 106.5 kB / 1.367 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3652, allocations: 4.375 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.3652, allocations: 384 / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.3654, allocations: 54.23 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.3654, allocations: 192 / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.3654, allocations: 3.938 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3654, allocations: 3.938 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.3656, allocations: 39.89 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.3659, allocations: 196.6 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.3661, allocations: 38.56 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.128e-05/0.3662, allocations: 20.91 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.3662, allocations: 7.938 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.3662, allocations: 34.5 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3662, allocations: 0 / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003637/0.3666, allocations: 77.64 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.3666, allocations: 55.41 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.826e-05/0.3667, allocations: 102 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3668, allocations: 25.7 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.3668, allocations: 92.09 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.3668, allocations: 3.953 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.3669, allocations: 9.719 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.367, allocations: 322.8 kB / 1.368 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.197e-05/0.3671, allocations: 11.98 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/0.3672, allocations: 15.98 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.3673, allocations: 48.81 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3673, allocations: 0 / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001961/0.3675, allocations: 65.61 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3676, allocations: 4 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3676, allocations: 0 / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3676, allocations: 0 / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.113e-05/0.3677, allocations: 16.02 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3677, allocations: 0 / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.3677, allocations: 7.984 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.3677, allocations: 3.938 kB / 1.368 GB, free: 10.13 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 8.311e-05/0.3678, allocations: 109.8 kB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.3678, allocations: 7.938 kB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.3681, allocations: 72.91 kB / 1.368 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3681, allocations: 0 / 1.368 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3681, allocations: 4.031 kB / 1.368 GB, free: 9.918 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3681, allocations: 3.984 kB / 1.368 GB, free: 9.914 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.3682, allocations: 105.3 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3682, allocations: 0 / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.84e-05/0.3683, allocations: 15.92 kB / 1.368 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3683, allocations: 3.938 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.3683, allocations: 0 / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3683, allocations: 0 / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3683, allocations: 0 / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.3686, allocations: 171.4 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.3686, allocations: 7.938 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.3686, allocations: 0 / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.077e-05/0.3687, allocations: 7.984 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.3687, allocations: 0 / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-06/0.3687, allocations: 0 / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.066e-05/0.3688, allocations: 87.27 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3688, allocations: 0 / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002183/0.369, allocations: 4 kB / 1.368 GB, free: 9.473 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.0001308/0.3691, allocations: 95.28 kB / 1.369 GB, free: 9.367 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.3693, allocations: 35.95 kB / 1.369 GB, free: 9.332 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3693, allocations: 4 kB / 1.369 GB, free: 9.328 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.15e-05/0.3694, allocations: 19.92 kB / 1.369 GB, free: 9.309 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.3697, allocations: 4 kB / 1.369 GB, free: 9.305 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.37, allocations: 136.1 kB / 1.369 GB, free: 9.141 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.204e-05/0.3701, allocations: 59.34 kB / 1.369 GB, free: 9.062 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.3702, allocations: 11.44 kB / 1.369 GB, free: 9.051 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.3702, allocations: 0 / 1.369 GB, free: 9.051 MB / 1.061 GB Notification: Performance of Templates: time 0.001969/0.3721, allocations: 0.5498 MB / 1.369 GB, free: 8.504 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/jenkins1/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: 11.230029612313956]