Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00145/0.00145, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.001605/0.001605, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.303/3.303, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.8776 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.208e-05, allocations: 4.844 kB / 0.8776 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.00189/0.001923, allocations: 0.6253 MB / 0.8782 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.003444, allocations: 0.8394 MB / 0.8791 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.945e-05/0.003473, allocations: 0 / 0.8791 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/0.0035, allocations: 3.938 kB / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.877e-05/0.003559, allocations: 9.453 kB / 0.8791 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.003743, allocations: 9.328 kB / 0.8791 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.529e-05/0.003808, allocations: 11.94 kB / 0.8791 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/0.003847, allocations: 4 kB / 0.8791 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.004003, allocations: 20.64 kB / 0.8791 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.735e-05/0.004061, allocations: 15.92 kB / 0.8791 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.004075, allocations: 0.6562 kB / 0.8791 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.569e-05/0.00412, allocations: 11.92 kB / 0.8791 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.004129, allocations: 3.594 kB / 0.8791 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.004154, allocations: 4 kB / 0.8792 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.979e-05/0.004254, allocations: 19.97 kB / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.004258, allocations: 0 / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.92e-07/0.004259, allocations: 0 / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.004262, allocations: 0 / 0.8792 GB, free: 4.883 MB / 0.8386 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.0004383/0.004701, allocations: 250.4 kB / 0.8794 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.004737, allocations: 8.031 kB / 0.8794 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.004905, allocations: 16.92 kB / 0.8794 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.005036, allocations: 115.9 kB / 0.8795 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.005048, allocations: 384 / 0.8795 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.005055, allocations: 4.312 kB / 0.8795 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.005186, allocations: 38.19 kB / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.005194, allocations: 192 / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.005202, allocations: 1.344 kB / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.005207, allocations: 384 / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.435e-05/0.005281, allocations: 25.02 kB / 0.8796 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.005435, allocations: 97.31 kB / 0.8797 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.391e-05/0.005529, allocations: 28.2 kB / 0.8797 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.001e-05/0.005579, allocations: 12.91 kB / 0.8797 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.005598, allocations: 3.938 kB / 0.8797 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.005634, allocations: 30.56 kB / 0.8798 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.005635, allocations: 6.125 kB / 0.8798 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0002347/0.00587, allocations: 45.69 kB / 0.8798 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.005921, allocations: 59.39 kB / 0.8799 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.006027, allocations: 101.8 kB / 0.88 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.006048, allocations: 28.11 kB / 0.88 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.006106, allocations: 88.14 kB / 0.8801 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.006124, allocations: 0 / 0.8801 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.006164, allocations: 13.7 kB / 0.8801 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.006341, allocations: 314.8 kB / 0.8804 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.423e-05/0.006396, allocations: 8 kB / 0.8804 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.329e-05/0.006429, allocations: 12.64 kB / 0.8804 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.884e-05/0.006508, allocations: 18.5 kB / 0.8804 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.00651, allocations: 0 / 0.8804 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000128/0.006638, allocations: 55.23 kB / 0.8805 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.006652, allocations: 4 kB / 0.8805 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.006656, allocations: 0 / 0.8805 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.006677, allocations: 4.219 kB / 0.8805 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-05/0.006741, allocations: 8 kB / 0.8805 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.006748, allocations: 3.984 kB / 0.8805 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.321e-05/0.006781, allocations: 3.938 kB / 0.8805 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.006789, allocations: 4 kB / 0.8805 GB, free: 3.34 MB / 0.8386 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 0.0001043/0.006893, allocations: 113.8 kB / 0.8806 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.006904, allocations: 0 / 0.8806 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01e-05/0.006924, allocations: 7.156 kB / 0.8806 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.006928, allocations: 7.922 kB / 0.8806 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.006931, allocations: 0 / 0.8806 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.006935, allocations: 3.938 kB / 0.8806 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.007041, allocations: 109.3 kB / 0.8808 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.007042, allocations: 0 / 0.8808 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.007081, allocations: 4 kB / 0.8808 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.007083, allocations: 0 / 0.8808 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.007097, allocations: 3.984 kB / 0.8808 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007098, allocations: 0 / 0.8808 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.007098, allocations: 0 / 0.8808 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.007273, allocations: 73.06 kB / 0.8808 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-06/0.007283, allocations: 3.953 kB / 0.8808 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.007296, allocations: 4.031 kB / 0.8808 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.365e-05/0.007329, allocations: 7.984 kB / 0.8808 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.007362, allocations: 3.938 kB / 0.8808 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.007366, allocations: 0 / 0.8808 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.782e-05/0.007423, allocations: 79.28 kB / 0.8809 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.007424, allocations: 0 / 0.8809 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001882/0.007612, allocations: 7.938 kB / 0.8809 GB, free: 2.859 MB / 0.8386 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.0001243/0.007736, allocations: 99.23 kB / 0.881 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.007855, allocations: 19.98 kB / 0.881 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.007857, allocations: 0 / 0.881 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.713e-05/0.007894, allocations: 4 kB / 0.881 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.008046, allocations: 10.5 kB / 0.8811 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.008357, allocations: 105.5 kB / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.447e-05/0.008421, allocations: 67.2 kB / 0.8812 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.233e-05/0.008443, allocations: 0 / 0.8812 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.008473, allocations: 12.5 kB / 0.8812 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/0.008473, allocations: 4.125 kB / 0.8812 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of Templates: time 0.002535/0.01101, allocations: 308 kB / 0.8815 GB, free: 2.195 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.348453124985099]