Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001365/0.001365, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001617/0.001617, allocations: 216.1 kB / 23 MB, free: 4.969 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: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.366/3.366, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002076/0.002076, allocations: 74.53 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3693, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.00229/0.3716, allocations: 0.6703 MB / 1.328 GB, free: 280 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3728, allocations: 0.8553 MB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.789e-05/0.3728, allocations: 0 / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.682e-05/0.3729, allocations: 0 / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.523e-05/0.3729, allocations: 11.92 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.3731, allocations: 11.98 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.455e-05/0.3732, allocations: 23.94 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3733, allocations: 7.984 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.85e-05/0.3733, allocations: 4 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.3734, allocations: 15.92 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.3734, allocations: 8 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.534e-05/0.3734, allocations: 4 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.3735, allocations: 7.984 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.3735, allocations: 7.938 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.3736, allocations: 31.83 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3736, allocations: 0 / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3736, allocations: 0 / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3736, allocations: 0 / 1.329 GB, free: 15.27 MB / 1.029 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.0004712/0.3741, allocations: 262.3 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3741, allocations: 8.031 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.597e-05/0.3742, allocations: 8.938 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.3743, allocations: 106.5 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3743, allocations: 4.375 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.3744, allocations: 384 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.3745, allocations: 50.23 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3746, allocations: 192 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3746, allocations: 3.938 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3746, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.3747, allocations: 39.95 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.3751, allocations: 200.4 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.3752, allocations: 38.59 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.259e-05/0.3753, allocations: 20.91 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.3753, allocations: 3.938 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.3753, allocations: 34.56 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3753, allocations: 3.938 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003788/0.3757, allocations: 85.58 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.3757, allocations: 55.41 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.283e-05/0.3758, allocations: 97.84 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.3759, allocations: 25.7 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.3759, allocations: 92.12 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.3759, allocations: 3.953 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.376, allocations: 9.719 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3761, allocations: 318.8 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.3762, allocations: 16.11 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.028e-05/0.3763, allocations: 19.91 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.3764, allocations: 40.83 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3764, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002089/0.3767, allocations: 77.53 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3767, allocations: 8.094 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3767, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3767, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-05/0.3768, allocations: 11.98 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3768, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.3768, allocations: 4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.3768, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 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.488e-05/0.3769, allocations: 114.4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.377, allocations: 7.891 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.3772, allocations: 76.91 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.3772, allocations: 4 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.3772, allocations: 0 / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-06/0.3772, allocations: 0 / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.3772, allocations: 0 / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.3773, allocations: 7.984 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.3773, allocations: 4 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002725/0.3776, allocations: 160.9 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002821/0.3779, allocations: 238.7 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.697e-05/0.378, allocations: 11.98 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.893e-05/0.378, allocations: 83.28 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of Backend: time 1.5e-07/0.378, allocations: 0 / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004654/0.3785, allocations: 104.2 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of SimCode: time 0.000588/0.3791, allocations: 0.5483 MB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of Templates: time 0.003387/0.3825, allocations: 0.641 MB / 1.332 GB, free: 11.4 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.434714143004385]