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.001818/0.001818, allocations: 110.2 kB / 19.69 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.001456/0.001456, allocations: 216.1 kB / 23.01 MB, free: 4.566 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.743/2.743, allocations: 476.7 MB / 0.7714 GB, free: 4.301 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.002111/0.002111, allocations: 65 kB / 1.119 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3482, allocations: 170 MB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001827/0.35, allocations: 0.6095 MB / 1.285 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.351, allocations: 0.8472 MB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.351, allocations: 4 kB / 1.286 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.3511, allocations: 0 / 1.286 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.078e-05/0.3511, allocations: 3.938 kB / 1.286 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.3513, allocations: 11.97 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.446e-05/0.3514, allocations: 15.94 kB / 1.286 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.28e-05/0.3514, allocations: 11.94 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.3516, allocations: 27.86 kB / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.617e-05/0.3516, allocations: 0 / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.3517, allocations: 4 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.546e-05/0.3517, allocations: 4 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.3517, allocations: 15.91 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.975e-05/0.3517, allocations: 0 / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.3518, allocations: 23.86 kB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3518, allocations: 3.984 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3518, allocations: 0 / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3519, allocations: 4 kB / 1.286 GB, free: 9.559 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.0004026/0.3523, allocations: 252.1 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3523, allocations: 12.03 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.3524, allocations: 8.922 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3525, allocations: 114.5 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.3526, allocations: 384 / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.3526, allocations: 384 / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.3527, allocations: 50.19 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3527, allocations: 192 / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3527, allocations: 3.938 kB / 1.287 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.3527, allocations: 0 / 1.287 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.52e-05/0.3528, allocations: 11.98 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.353, allocations: 124.8 kB / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.811e-05/0.353, allocations: 22.58 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.3531, allocations: 16.91 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.3531, allocations: 0 / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.3531, allocations: 38.5 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.3531, allocations: 3.938 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.00021/0.3534, allocations: 49.62 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.3534, allocations: 55.41 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.052e-05/0.3535, allocations: 105.8 kB / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3535, allocations: 29.83 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.3536, allocations: 88.14 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.3536, allocations: 0 / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.3536, allocations: 13.7 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3537, allocations: 310.8 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.242e-05/0.3538, allocations: 8 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.3538, allocations: 11.98 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.963e-05/0.3539, allocations: 24.84 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3539, allocations: 0 / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001033/0.354, allocations: 49.64 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.354, allocations: 4 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.354, allocations: 7.938 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.354, allocations: 3.938 kB / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.077e-05/0.3541, allocations: 0 / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3541, allocations: 4 kB / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.902e-05/0.3541, allocations: 8.016 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.3541, allocations: 3.984 kB / 1.288 GB, free: 7.965 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 8.304e-05/0.3542, allocations: 109.8 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-06/0.3542, allocations: 4 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.806e-05/0.3542, allocations: 7.094 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3542, allocations: 0 / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3543, allocations: 3.938 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3543, allocations: 0 / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.3544, allocations: 124.8 kB / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3544, allocations: 4 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.3544, allocations: 7.984 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3544, allocations: 0 / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3544, allocations: 3.938 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3544, allocations: 0 / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3544, allocations: 4 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.3545, allocations: 65.12 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.3545, allocations: 15.91 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.3546, allocations: 3.938 kB / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.73e-05/0.3546, allocations: 4 kB / 1.288 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.3546, allocations: 0 / 1.288 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.3546, allocations: 256 / 1.288 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.998e-05/0.3547, allocations: 91.27 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3547, allocations: 0 / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001738/0.3548, allocations: 4 kB / 1.288 GB, free: 7.453 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.0001221/0.355, allocations: 107.1 kB / 1.288 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.3551, allocations: 11.98 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3551, allocations: 0 / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.782e-05/0.3551, allocations: 12 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.3553, allocations: 3.984 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.3556, allocations: 128.8 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.3559, allocations: 0.6807 MB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.3559, allocations: 7.438 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of SimCode: time 7.554e-06/0.3559, allocations: 3.938 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of Templates: time 0.001855/0.3578, allocations: 468.6 kB / 1.289 GB, free: 5.98 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.989021827001125]