Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001654/0.001654, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001918/0.001918, allocations: 211.3 kB / 23 MB, free: 4.934 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.571/1.571, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.381/3.381, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y",fileNamePrefix="Buildings_12_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_12_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.002085/0.002085, allocations: 70.58 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4122, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002115/0.4143, allocations: 0.6054 MB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.4154, allocations: 0.8552 MB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.494e-05/0.4155, allocations: 0 / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.4155, allocations: 0 / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.199e-05/0.4156, allocations: 7.922 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.4158, allocations: 11.98 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.959e-05/0.4158, allocations: 11.94 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.199e-05/0.4159, allocations: 8 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.416, allocations: 19.86 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.612e-05/0.4161, allocations: 7.984 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.4161, allocations: 8 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.489e-05/0.4162, allocations: 4 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.4162, allocations: 3.984 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.4162, allocations: 7.938 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.4163, allocations: 19.92 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4163, allocations: 0 / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4163, allocations: 0 / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.4163, allocations: 0 / 1.329 GB, free: 15.35 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005437/0.4169, allocations: 258.3 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.4169, allocations: 8.031 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.4171, allocations: 12.94 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.4172, allocations: 114.5 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.4172, allocations: 384 / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.4172, allocations: 4.312 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.4174, allocations: 38.25 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4174, allocations: 192 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.4174, allocations: 3.938 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-06/0.4174, allocations: 0 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.569e-05/0.4175, allocations: 11.98 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.4177, allocations: 109.3 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.226e-05/0.4178, allocations: 26.59 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.821e-05/0.4178, allocations: 16.86 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.4178, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.4179, allocations: 30.56 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.4179, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0002515/0.4181, allocations: 57.61 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.4182, allocations: 51.41 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.4183, allocations: 110 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.4183, allocations: 25.7 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.4183, allocations: 84.14 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.4184, allocations: 7.922 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.4184, allocations: 13.72 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.4186, allocations: 310.8 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.162e-05/0.4186, allocations: 11.92 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.927e-05/0.4186, allocations: 8 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.561e-05/0.4187, allocations: 20.91 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4187, allocations: 4 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001084/0.4188, allocations: 49.64 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4189, allocations: 4 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.4189, allocations: 0 / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4189, allocations: 4 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.136e-05/0.4189, allocations: 7.922 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.419, allocations: 3.938 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.419, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.419, allocations: 0 / 1.33 GB, free: 13.79 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 (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.637e-05/0.4191, allocations: 113.8 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.4191, allocations: 4 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.844e-05/0.4191, allocations: 11.14 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4191, allocations: 3.938 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4191, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.4191, allocations: 7.938 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.4191, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.651e-05/0.4192, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.4192, allocations: 3.984 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001585/0.4194, allocations: 129 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002206/0.4196, allocations: 222.7 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.303e-05/0.4196, allocations: 7.984 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.918e-05/0.4197, allocations: 83.53 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of Backend: time 1.4e-07/0.4197, allocations: 0 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004765/0.4202, allocations: 86.39 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006725/0.4208, allocations: 0.5557 MB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of Templates: time 0.00308/0.4239, allocations: 426.1 kB / 1.332 GB, free: 12.07 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.49685168999713]