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.001323/0.001323, 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.001469/0.001469, allocations: 177.4 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 0.9837/0.9837, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.411/2.411, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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.212e-06/1.212e-06, allocations: 0 / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.609e-05/1.73e-05, allocations: 6.25 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001158/0.001175, allocations: 0.6794 MB / 0.8393 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007915/0.001966, allocations: 0.8664 MB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.001992, allocations: 0 / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.282e-05/0.002015, allocations: 3.938 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.059e-05/0.002066, allocations: 3.938 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.0022, allocations: 19.91 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.351e-05/0.002253, allocations: 23.92 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.095e-05/0.002314, allocations: 4 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.206e-05/0.002376, allocations: 11.98 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.017e-05/0.002406, allocations: 11.94 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.936e-06/0.002415, allocations: 0 / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.425e-05/0.002449, allocations: 15.94 kB / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.002464, allocations: 7.969 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.33e-05/0.002477, allocations: 4 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.018e-05/0.002547, allocations: 19.92 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002549, allocations: 0 / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.91e-07/0.00255, allocations: 0 / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.002553, allocations: 0 / 0.8403 GB, free: 12.44 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.0002842/0.002837, allocations: 240.9 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.002866, allocations: 12.62 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.452e-05/0.002941, allocations: 4.938 kB / 0.8405 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.026e-05/0.003011, allocations: 109.8 kB / 0.8406 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.003019, allocations: 384 / 0.8406 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-06/0.003027, allocations: 4.375 kB / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.937e-05/0.003106, allocations: 54.88 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.003113, allocations: 192 / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.003119, allocations: 8.375 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.003124, allocations: 384 / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.65e-05/0.00314, allocations: 3.938 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.0033, allocations: 144.4 kB / 0.8408 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.428e-05/0.003335, allocations: 26.52 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.024e-05/0.003345, allocations: 4.859 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.003356, allocations: 0 / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.003374, allocations: 38.62 kB / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.003375, allocations: 0 / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 8.304e-05/0.003458, allocations: 37.69 kB / 0.8409 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.003485, allocations: 55.34 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.39e-05/0.003528, allocations: 102.7 kB / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.003537, allocations: 25.7 kB / 0.8411 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.536e-05/0.003632, allocations: 92.25 kB / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.173e-05/0.003644, allocations: 3.953 kB / 0.8412 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.941e-05/0.003663, allocations: 17.64 kB / 0.8412 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.775e-05/0.003731, allocations: 314.8 kB / 0.8415 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-06/0.003738, allocations: 0 / 0.8415 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-06/0.003745, allocations: 8 kB / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.905e-05/0.003764, allocations: 16.84 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.003767, allocations: 4 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.339e-05/0.003801, allocations: 33.7 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.00381, allocations: 8.031 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.003813, allocations: 4 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.003823, allocations: 0 / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.114e-05/0.003875, allocations: 15.86 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.003877, allocations: 0 / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.481e-05/0.003892, allocations: 7.938 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.003895, allocations: 0 / 0.8416 GB, free: 10.91 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 4.521e-05/0.003941, allocations: 109.8 kB / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.003951, allocations: 192 / 0.8417 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.963e-05/0.004011, allocations: 41 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.004014, allocations: 16 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.004017, allocations: 3.938 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.004019, allocations: 0 / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.043e-05/0.004089, allocations: 65.89 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.00409, allocations: 0 / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.893e-05/0.004109, allocations: 7.984 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.00411, allocations: 0 / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-06/0.004113, allocations: 0 / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.004115, allocations: 4 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.004116, allocations: 3.938 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.882e-05/0.004175, allocations: 135.5 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-06/0.004179, allocations: 0 / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-06/0.004186, allocations: 0 / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.747e-05/0.004213, allocations: 4 kB / 0.842 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.004238, allocations: 7.984 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.004239, allocations: 0 / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.655e-06/0.004247, allocations: 12.8 kB / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.004247, allocations: 0 / 0.842 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000105/0.004352, allocations: 4 kB / 0.842 GB, free: 10.45 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 6.965e-05/0.004421, allocations: 80.45 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.389e-05/0.004475, allocations: 12.8 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.004477, allocations: 0 / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-05/0.004491, allocations: 12.84 kB / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.004608, allocations: 4 kB / 0.8421 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.004908, allocations: 116.7 kB / 0.8422 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.884e-05/0.004936, allocations: 55.47 kB / 0.8423 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.251e-05/0.004949, allocations: 7.938 kB / 0.8423 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.004981, allocations: 51.38 kB / 0.8423 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of SimCode: time 2.8e-07/0.004981, allocations: 0 / 0.8423 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of Templates: time 0.001773/0.006754, allocations: 475.4 kB / 0.8428 GB, free: 9.598 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 -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.197597433812916]