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.00153/0.00153, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001679/0.001679, allocations: 215.2 kB / 23.01 MB, free: 5.125 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.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.77/2.77, allocations: 476.7 MB / 0.7714 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] 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.002128/0.002128, allocations: 67.08 kB / 1.119 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3602, allocations: 170 MB / 1.285 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001957/0.3622, allocations: 0.6693 MB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.3632, allocations: 0.8511 MB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.795e-05/0.3633, allocations: 0 / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.3633, allocations: 7.938 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.436e-05/0.3634, allocations: 11.86 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.3636, allocations: 8 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.708e-05/0.3636, allocations: 27.86 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3637, allocations: 11.98 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.885e-05/0.3638, allocations: 7.984 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.41e-05/0.3638, allocations: 7.938 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.3638, allocations: 4 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.925e-05/0.3639, allocations: 7.984 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.3639, allocations: 4 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.3639, allocations: 11.94 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.3641, allocations: 35.83 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.3641, allocations: 4 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.694e-06/0.3641, allocations: 0 / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.3641, allocations: 0 / 1.286 GB, free: 9.305 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.0004671/0.3645, allocations: 258.3 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3646, allocations: 12.03 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.8e-05/0.3647, allocations: 4.922 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.3648, allocations: 106.5 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.3648, allocations: 4.375 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.3648, allocations: 8.312 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.365, allocations: 46.23 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.365, allocations: 192 / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.365, allocations: 7.938 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.365, allocations: 0 / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.3652, allocations: 31.97 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.3655, allocations: 224 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.3657, allocations: 42.44 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.464e-05/0.3658, allocations: 20.89 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.3658, allocations: 4 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.3658, allocations: 34.56 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3658, allocations: 0 / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003537/0.3662, allocations: 81.64 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.3662, allocations: 51.41 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.751e-05/0.3663, allocations: 105.8 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.3663, allocations: 25.7 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.3664, allocations: 84.2 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.3664, allocations: 11.95 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.3664, allocations: 13.72 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3666, allocations: 314.8 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.12e-05/0.3666, allocations: 19.98 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.716e-05/0.3667, allocations: 11.98 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.3669, allocations: 48.81 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3669, allocations: 0 / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001934/0.3671, allocations: 65.61 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3671, allocations: 7.938 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3671, allocations: 0 / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3671, allocations: 7.922 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/0.3672, allocations: 12 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3672, allocations: 4.031 kB / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.3672, allocations: 7.984 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.3672, allocations: 0 / 1.288 GB, free: 7.473 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 8.139e-05/0.3673, allocations: 109.8 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.3674, allocations: 7.953 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.3676, allocations: 68.97 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3676, allocations: 4.031 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3676, allocations: 0 / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3676, allocations: 3.984 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.3677, allocations: 132.7 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3677, allocations: 4 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/0.3678, allocations: 11.92 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3678, allocations: 0 / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.3678, allocations: 0 / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.3678, allocations: 4 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3678, allocations: 0 / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.3681, allocations: 167.5 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-06/0.3681, allocations: 0 / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.3681, allocations: 0 / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.032e-05/0.3682, allocations: 7.984 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.3682, allocations: 0 / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.3682, allocations: 0 / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.3682, allocations: 87.31 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3682, allocations: 0 / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002139/0.3685, allocations: 4 kB / 1.288 GB, free: 6.801 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.0001341/0.3686, allocations: 99.23 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.3688, allocations: 35.91 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3688, allocations: 0 / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.418e-05/0.3689, allocations: 28.03 kB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.3692, allocations: 10.06 kB / 1.289 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.3695, allocations: 128.5 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.3698, allocations: 0.6729 MB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.3699, allocations: 15.42 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3699, allocations: 0 / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of Templates: time 0.002148/0.372, allocations: 0.5425 MB / 1.29 GB, free: 5.207 MB / 0.9825 GB " [Timeout remaining time 300] 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/jenkins1/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: 11.068429179984378]