Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001491/0.001491, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001612/0.001612, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.017/1.017, 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.476/2.476, allocations: 438.8 MB / 0.6827 GB, free: 13.58 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.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.116e-05, allocations: 6.25 kB / 0.8387 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001627/0.001648, allocations: 0.7382 MB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.002658, allocations: 0.8547 MB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.002693, allocations: 0 / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.608e-05/0.002719, allocations: 0 / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.644e-05/0.002786, allocations: 11.88 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.002933, allocations: 11.97 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.397e-05/0.003007, allocations: 27.92 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.247e-05/0.00308, allocations: 4 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.381e-05/0.003153, allocations: 15.98 kB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.264e-05/0.003186, allocations: 4 kB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.0032, allocations: 4 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.607e-05/0.003256, allocations: 7.938 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.003272, allocations: 11.92 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.629e-05/0.003288, allocations: 7.984 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.257e-05/0.003371, allocations: 19.92 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003373, allocations: 0 / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003374, allocations: 4 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.003377, allocations: 0 / 0.8404 GB, free: 12.34 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002783/0.003655, allocations: 240.9 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.003688, allocations: 8.625 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.927e-05/0.003778, allocations: 4.938 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.431e-05/0.003862, allocations: 109.8 kB / 0.8407 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.003871, allocations: 4.312 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.003878, allocations: 4.375 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.756e-05/0.003976, allocations: 54.94 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.003983, allocations: 192 / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.003989, allocations: 384 / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.003994, allocations: 384 / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.341e-05/0.004017, allocations: 11.88 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.004221, allocations: 148.3 kB / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.876e-05/0.00426, allocations: 18.58 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.401e-05/0.004274, allocations: 8.922 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.004287, allocations: 3.984 kB / 0.841 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.004309, allocations: 30.56 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.004311, allocations: 0 / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001082/0.004419, allocations: 41.67 kB / 0.841 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.004452, allocations: 55.34 kB / 0.8411 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.876e-05/0.004511, allocations: 106.7 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.004521, allocations: 29.83 kB / 0.8412 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.004552, allocations: 84.12 kB / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.00457, allocations: 7.953 kB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.004599, allocations: 13.72 kB / 0.8413 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.472e-05/0.004694, allocations: 314.8 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.397e-06/0.004703, allocations: 4 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.043e-05/0.004714, allocations: 4 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.87e-05/0.004742, allocations: 16.78 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.004744, allocations: 0 / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.174e-05/0.004796, allocations: 37.77 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.004815, allocations: 4 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.004822, allocations: 8 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.004837, allocations: 3.984 kB / 0.8417 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.875e-05/0.004895, allocations: 7.938 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.004898, allocations: 0 / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.004925, allocations: 7.938 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.004929, allocations: 0 / 0.8417 GB, free: 10.82 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 (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 5.378e-05/0.004983, allocations: 109.8 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.005004, allocations: 7.984 kB / 0.8418 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.56e-05/0.005069, allocations: 44.97 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.005071, allocations: 3.938 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.005074, allocations: 3.938 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005076, allocations: 0 / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.005177, allocations: 61.91 kB / 0.8419 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.005177, allocations: 4 kB / 0.8419 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.005202, allocations: 7.984 kB / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.005204, allocations: 0 / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-06/0.005208, allocations: 0 / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.005209, allocations: 0 / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.005209, allocations: 4.031 kB / 0.8419 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.665e-05/0.005286, allocations: 143.4 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-06/0.005292, allocations: 4 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-06/0.0053, allocations: 0 / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.67e-05/0.005347, allocations: 4 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.005373, allocations: 3.984 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.005376, allocations: 0 / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.211e-05/0.005388, allocations: 12.8 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.005388, allocations: 0 / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001739/0.005562, allocations: 4 kB / 0.8421 GB, free: 10.35 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 (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 Backend phase and start with SimCode phase: time 7.251e-05/0.005634, allocations: 76.45 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.493e-05/0.005689, allocations: 20.84 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.005691, allocations: 0 / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.971e-05/0.005711, allocations: 12.8 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.005877, allocations: 6.391 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.006252, allocations: 116.8 kB / 0.8423 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.911e-05/0.006291, allocations: 59.34 kB / 0.8424 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.701e-05/0.006308, allocations: 0 / 0.8424 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.006353, allocations: 51.38 kB / 0.8424 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of SimCode: time 8.21e-07/0.006354, allocations: 0 / 0.8424 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of Templates: time 0.002047/0.008401, allocations: 464.7 kB / 0.8429 GB, free: 9.512 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_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.366935594938695]