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.00137/0.00137, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.0014/0.0014, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.905/2.905, allocations: 0.49 GB / 0.7923 GB, free: 1.289 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.002109/0.002109, allocations: 73.92 kB / 1.15 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.106, allocations: 176.1 MB / 1.322 GB, free: 25.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001583/1.108, allocations: 0.6093 MB / 1.323 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006834/1.109, allocations: 0.8467 MB / 1.323 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.737e-05/1.109, allocations: 2.719 kB / 1.323 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/1.109, allocations: 0 / 1.323 GB, free: 24.13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.222e-05/1.109, allocations: 11.92 kB / 1.323 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/1.109, allocations: 10.11 kB / 1.323 GB, free: 24.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.613e-05/1.109, allocations: 23.66 kB / 1.323 GB, free: 24.1 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/1.109, allocations: 8 kB / 1.323 GB, free: 24.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/1.109, allocations: 18.97 kB / 1.323 GB, free: 24.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/1.109, allocations: 5.781 kB / 1.323 GB, free: 24.08 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/1.109, allocations: 6.516 kB / 1.323 GB, free: 24.08 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.901e-05/1.109, allocations: 6.625 kB / 1.323 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/1.109, allocations: 4 kB / 1.324 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.678e-05/1.109, allocations: 6.656 kB / 1.324 GB, free: 24.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.879e-05/1.109, allocations: 25.8 kB / 1.324 GB, free: 24.06 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/1.109, allocations: 0 / 1.324 GB, free: 24.06 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/1.109, allocations: 0 / 1.324 GB, free: 24.06 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.258e-06/1.109, allocations: 0 / 1.324 GB, free: 24.06 MB / 1.061 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.000319/1.11, allocations: 329.5 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/1.11, allocations: 14.3 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/1.11, allocations: 15.84 kB / 1.324 GB, free: 23.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.674e-05/1.11, allocations: 168.3 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/1.11, allocations: 4.375 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/1.11, allocations: 2.906 kB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/1.11, allocations: 34.78 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/1.11, allocations: 192 / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/1.11, allocations: 3.938 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/1.11, allocations: 0 / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.317e-05/1.11, allocations: 22.27 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/1.11, allocations: 151.7 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.77e-05/1.11, allocations: 23.83 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.738e-05/1.11, allocations: 17.25 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/1.11, allocations: 3.938 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/1.11, allocations: 33.38 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/1.11, allocations: 0 / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001784/1.111, allocations: 62.31 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/1.111, allocations: 51.41 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.657e-05/1.111, allocations: 105.5 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/1.111, allocations: 25.7 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.916e-05/1.111, allocations: 80.14 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/1.111, allocations: 3.984 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/1.111, allocations: 12.66 kB / 1.325 GB, free: 22.83 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.265e-05/1.111, allocations: 318.1 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-05/1.111, allocations: 9.156 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.756e-05/1.111, allocations: 8.438 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.305e-05/1.111, allocations: 24.58 kB / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.111, allocations: 0 / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.032e-05/1.111, allocations: 53.39 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/1.111, allocations: 9.719 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/1.111, allocations: 4.031 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/1.111, allocations: 4 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.798e-05/1.111, allocations: 2.656 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/1.111, allocations: 0 / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/1.111, allocations: 5.828 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/1.111, allocations: 0 / 1.325 GB, free: 22.44 MB / 1.061 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 4.051e-05/1.111, allocations: 108.7 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-06/1.111, allocations: 0 / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.738e-05/1.111, allocations: 13.83 kB / 1.325 GB, free: 22.32 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/1.111, allocations: 4 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/1.111, allocations: 0 / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/1.111, allocations: 0 / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.266e-05/1.111, allocations: 155.2 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.111, allocations: 256 / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/1.111, allocations: 6.75 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/1.111, allocations: 2.719 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/1.111, allocations: 3.938 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/1.111, allocations: 3.938 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/1.111, allocations: 3.938 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/1.111, allocations: 73.47 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/1.111, allocations: 81.06 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/1.111, allocations: 6.719 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.669e-05/1.111, allocations: 3.328 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/1.111, allocations: 6.625 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/1.111, allocations: 0 / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.078e-05/1.111, allocations: 77.88 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.111, allocations: 4.031 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001737/1.112, allocations: 2.656 kB / 1.326 GB, free: 21.85 MB / 1.061 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 8.68e-05/1.112, allocations: 102.3 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000113/1.112, allocations: 19.56 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/1.112, allocations: 2.594 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.612e-05/1.112, allocations: 8.031 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/1.112, allocations: 5.844 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002057/1.112, allocations: 127.8 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.247e-05/1.112, allocations: 0.6748 MB / 1.327 GB, free: 20.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/1.112, allocations: 10 kB / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.112, allocations: 0 / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of Templates: time 0.001619/1.114, allocations: 476.8 kB / 1.327 GB, free: 20.88 MB / 1.061 GB " [Timeout remaining time 299] 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: 11.409408348001307]