Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001622/0.001622, 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.001767/0.001767, allocations: 217.4 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.766/2.766, allocations: 476 MB / 0.7707 GB, free: 4.77 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_11_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_11_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.002105/0.002105, allocations: 69.62 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3381, allocations: 170 MB / 1.284 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002203/0.3403, allocations: 0.6172 MB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.3415, allocations: 0.8356 MB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/0.3415, allocations: 0 / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.3415, allocations: 3.938 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/0.3416, allocations: 0 / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.3418, allocations: 11.94 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.151e-05/0.3419, allocations: 19.86 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.524e-05/0.3419, allocations: 7.984 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.3421, allocations: 19.98 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.037e-05/0.3421, allocations: 7.938 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.3422, allocations: 7.938 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.897e-05/0.3422, allocations: 8 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.3422, allocations: 7.922 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.3422, allocations: 0 / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.3424, allocations: 27.84 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3424, allocations: 0 / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3424, allocations: 0 / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.3424, allocations: 0 / 1.285 GB, free: 10.3 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000427/0.3428, allocations: 258.3 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3428, allocations: 12.03 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.343, allocations: 8.938 kB / 1.286 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.3431, allocations: 106.5 kB / 1.286 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3431, allocations: 384 / 1.286 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.3431, allocations: 4.375 kB / 1.286 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.3433, allocations: 38.25 kB / 1.286 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3433, allocations: 192 / 1.286 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3433, allocations: 3.938 kB / 1.286 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.3433, allocations: 0 / 1.286 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.32e-05/0.3434, allocations: 19.92 kB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.3436, allocations: 105.3 kB / 1.286 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.972e-05/0.3437, allocations: 26.59 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.513e-05/0.3437, allocations: 12.92 kB / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.3437, allocations: 0 / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.3438, allocations: 30.56 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3438, allocations: 0 / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.000222/0.344, allocations: 61.55 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.344, allocations: 59.47 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.436e-05/0.3441, allocations: 101.9 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.3442, allocations: 29.69 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.3442, allocations: 80.14 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.3442, allocations: 4 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.3443, allocations: 9.719 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3444, allocations: 314.8 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.121e-05/0.3444, allocations: 7.984 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.065e-05/0.3445, allocations: 8.25 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.454e-05/0.3445, allocations: 24.91 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.3445, allocations: 4 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001146/0.3447, allocations: 53.58 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3447, allocations: 4 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3447, allocations: 4 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.3447, allocations: 3.938 kB / 1.287 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.964e-05/0.3448, allocations: 3.984 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3448, allocations: 7.938 kB / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.3448, allocations: 4.031 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.3448, allocations: 0 / 1.287 GB, free: 8.742 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 (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 9.568e-05/0.3449, allocations: 109.8 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.3449, allocations: 0 / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.3449, allocations: 7.141 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.345, allocations: 3.938 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.345, allocations: 0 / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.345, allocations: 0 / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.783e-05/0.345, allocations: 105.3 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.345, allocations: 0 / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.386e-05/0.3451, allocations: 11.98 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3451, allocations: 0 / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3451, allocations: 0 / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3451, allocations: 4 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3451, allocations: 3.938 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.3452, allocations: 69.06 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.3453, allocations: 7.984 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.3453, allocations: 0 / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.514e-05/0.3453, allocations: 3.938 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.3453, allocations: 3.938 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.3453, allocations: 8.031 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.043e-05/0.3454, allocations: 87.27 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3454, allocations: 0 / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001812/0.3456, allocations: 0 / 1.287 GB, free: 8.27 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 (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.0001298/0.3457, allocations: 99.23 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.3458, allocations: 19.98 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3458, allocations: 0 / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.982e-05/0.3459, allocations: 12 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.346, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.3464, allocations: 128.6 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.459e-05/0.3464, allocations: 59.34 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.3465, allocations: 11.44 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3465, allocations: 0 / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of Templates: time 0.002022/0.3485, allocations: 487.1 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.928245228715241]