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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.973/2.973, allocations: 476.7 MB / 0.7629 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 71.88 kB / 1.107 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.102, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001907/1.104, allocations: 0.629 MB / 1.273 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009397/1.104, allocations: 0.808 MB / 1.273 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/1.105, allocations: 0.7812 kB / 1.273 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.668e-05/1.105, allocations: 3.938 kB / 1.273 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.461e-05/1.105, allocations: 1.422 kB / 1.273 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/1.105, allocations: 11.47 kB / 1.273 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.732e-05/1.105, allocations: 17.89 kB / 1.273 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.489e-05/1.105, allocations: 6.016 kB / 1.273 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.411e-05/1.105, allocations: 14.39 kB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.03e-05/1.105, allocations: 4.797 kB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/1.105, allocations: 5.812 kB / 1.273 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.386e-06/1.105, allocations: 0.8125 kB / 1.273 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/1.105, allocations: 1.328 kB / 1.273 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/1.105, allocations: 10.47 kB / 1.273 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.668e-05/1.105, allocations: 18.23 kB / 1.274 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/1.105, allocations: 0.7031 kB / 1.274 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/1.105, allocations: 0.8438 kB / 1.274 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.542e-06/1.105, allocations: 0 / 1.274 GB, free: 6.859 MB / 0.9981 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.0003729/1.106, allocations: 331.5 kB / 1.274 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/1.106, allocations: 12.44 kB / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/1.106, allocations: 6.922 kB / 1.274 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/1.106, allocations: 163.6 kB / 1.274 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/1.106, allocations: 384 / 1.274 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/1.106, allocations: 1.125 kB / 1.274 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/1.106, allocations: 43.47 kB / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.106, allocations: 192 / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/1.106, allocations: 5.5 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.106, allocations: 0 / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.951e-05/1.106, allocations: 19.92 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/1.106, allocations: 152.2 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.609e-05/1.106, allocations: 29.38 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.455e-05/1.106, allocations: 15.81 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/1.106, allocations: 0 / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/1.106, allocations: 32.03 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/1.106, allocations: 4.812 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0002119/1.107, allocations: 55.45 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/1.107, allocations: 52.16 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.889e-05/1.107, allocations: 106 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/1.107, allocations: 27.48 kB / 1.275 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.306e-05/1.107, allocations: 81.78 kB / 1.275 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/1.107, allocations: 7.953 kB / 1.275 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/1.107, allocations: 16.27 kB / 1.275 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.71e-05/1.107, allocations: 313 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/1.107, allocations: 11.17 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.817e-05/1.107, allocations: 10.31 kB / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.062e-05/1.107, allocations: 17.92 kB / 1.275 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/1.107, allocations: 0 / 1.275 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.847e-05/1.107, allocations: 51.39 kB / 1.275 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/1.107, allocations: 9 kB / 1.275 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/1.107, allocations: 4.75 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/1.107, allocations: 0 / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.895e-05/1.107, allocations: 5.625 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/1.107, allocations: 0 / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/1.107, allocations: 1.719 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/1.107, allocations: 3.859 kB / 1.275 GB, free: 5.25 MB / 0.9981 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 5.463e-05/1.107, allocations: 117.6 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/1.107, allocations: 4.797 kB / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/1.107, allocations: 12.81 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/1.107, allocations: 0 / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.107, allocations: 0 / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/1.107, allocations: 0.9375 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.114e-05/1.107, allocations: 149.9 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/1.107, allocations: 1.031 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/1.107, allocations: 3.031 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.107, allocations: 3.75 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/1.107, allocations: 4.688 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/1.107, allocations: 4 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/1.107, allocations: 0.9062 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/1.107, allocations: 72.66 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/1.107, allocations: 81.83 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/1.107, allocations: 8.625 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.755e-05/1.107, allocations: 1.969 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/1.108, allocations: 4.906 kB / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/1.108, allocations: 5.094 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.865e-05/1.108, allocations: 85.03 kB / 1.276 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/1.108, allocations: 0 / 1.276 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001822/1.108, allocations: 2.969 kB / 1.276 GB, free: 4.656 MB / 0.9981 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.0001349/1.108, allocations: 102.1 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001267/1.108, allocations: 13.3 kB / 1.276 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/1.108, allocations: 4.062 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.841e-05/1.108, allocations: 13.7 kB / 1.276 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/1.108, allocations: 0.5312 kB / 1.276 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/1.108, allocations: 130.5 kB / 1.276 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/1.109, allocations: 0.6778 MB / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.579e-05/1.109, allocations: 3.578 kB / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/1.109, allocations: 12.34 kB / 1.276 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of SimCode: time 4.2e-07/1.109, allocations: 0 / 1.276 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of Templates: time 0.002516/1.111, allocations: 278.4 kB / 1.277 GB, free: 3.676 MB / 0.9981 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/jenkins/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: 9.644245075061917]