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.001013/0.001013, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001704/0.001704, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9921/0.9921, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 2.577/2.577, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.345e-06/2.345e-06, allocations: 0 / 0.8387 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/2.025e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001404/0.001424, allocations: 0.6705 MB / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008884/0.002313, allocations: 0.8703 MB / 0.8402 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.002348, allocations: 0 / 0.8402 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.002378, allocations: 3.938 kB / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.153e-05/0.002439, allocations: 0 / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.002615, allocations: 15.92 kB / 0.8402 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.803e-05/0.002684, allocations: 15.92 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.002727, allocations: 4 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.002876, allocations: 27.86 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.427e-05/0.00293, allocations: 4 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.002944, allocations: 0 / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.727e-05/0.003012, allocations: 7.984 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.003026, allocations: 11.92 kB / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.337e-05/0.003039, allocations: 0 / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.314e-05/0.003132, allocations: 15.98 kB / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003134, allocations: 0 / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003135, allocations: 0 / 0.8403 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.003139, allocations: 0 / 0.8403 GB, free: 12.49 MB / 0.8073 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.0002849/0.003424, allocations: 236.9 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.003464, allocations: 8.625 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.003577, allocations: 12.92 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.729e-05/0.003665, allocations: 105.8 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.003674, allocations: 4.375 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-06/0.00368, allocations: 4.312 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.411e-05/0.003754, allocations: 46.95 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.003761, allocations: 192 / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-06/0.003768, allocations: 4.375 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.003774, allocations: 4.312 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.169e-05/0.003786, allocations: 7.938 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.148e-05/0.003857, allocations: 57.05 kB / 0.8407 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.691e-05/0.003894, allocations: 14.58 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.265e-05/0.003907, allocations: 12.89 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.003917, allocations: 0 / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.003938, allocations: 38.55 kB / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.003939, allocations: 0 / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 8.134e-05/0.004021, allocations: 29.7 kB / 0.8408 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.004045, allocations: 55.41 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.967e-05/0.004095, allocations: 106.8 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.004103, allocations: 29.7 kB / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.004127, allocations: 88.14 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.004147, allocations: 0 / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.004167, allocations: 9.719 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.449e-05/0.004242, allocations: 322.8 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.004252, allocations: 11.92 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-06/0.004258, allocations: 0 / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.068e-05/0.004279, allocations: 8.859 kB / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.00428, allocations: 0 / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.629e-05/0.004316, allocations: 33.77 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.004328, allocations: 6.188 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.004332, allocations: 4 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.004345, allocations: 7.969 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.225e-05/0.004388, allocations: 0 / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.004394, allocations: 0 / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.342e-05/0.004408, allocations: 4 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.004412, allocations: 3.938 kB / 0.8415 GB, free: 11.08 MB / 0.8073 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.523e-05/0.004457, allocations: 109.8 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-06/0.004463, allocations: 4 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.614e-05/0.004479, allocations: 15.17 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.00448, allocations: 0 / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.004481, allocations: 0 / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.004483, allocations: 0 / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.531e-05/0.004529, allocations: 65.84 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.004529, allocations: 0 / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-05/0.004544, allocations: 11.92 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.004545, allocations: 0 / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-06/0.004548, allocations: 0 / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.004549, allocations: 0 / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.00455, allocations: 0 / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.94e-05/0.004599, allocations: 61.08 kB / 0.8417 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-06/0.004607, allocations: 7.938 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-06/0.004615, allocations: 4 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.087e-06/0.004624, allocations: 4.188 kB / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.004643, allocations: 0 / 0.8418 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.004646, allocations: 4 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.176e-05/0.004658, allocations: 12.84 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004658, allocations: 0 / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.279e-05/0.004751, allocations: 4 kB / 0.8418 GB, free: 10.73 MB / 0.8073 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 6.539e-05/0.004816, allocations: 82.69 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.634e-05/0.004863, allocations: 12.86 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.004865, allocations: 0 / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.304e-05/0.004878, allocations: 8.859 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.921e-05/0.004937, allocations: 6 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/0.005257, allocations: 127.6 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.6e-05/0.005283, allocations: 55.48 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.392e-05/0.005297, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.005328, allocations: 51.38 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of SimCode: time 3.7e-07/0.005328, allocations: 0 / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of Templates: time 0.001601/0.006929, allocations: 306.1 kB / 0.8424 GB, free: 10.04 MB / 0.8073 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3001050893217325]