Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.001005/0.001005, 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.00103/0.00103, 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 1.051/1.051, allocations: 177.1 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.579/2.579, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.8387 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.708e-05, allocations: 6.312 kB / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.007747/0.007774, allocations: 0.7249 MB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009572/0.008731, allocations: 0.8625 MB / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.008765, allocations: 0 / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.008789, allocations: 0 / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.433e-05/0.008853, allocations: 7.875 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.008992, allocations: 8 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.738e-05/0.009059, allocations: 27.92 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.978e-05/0.009129, allocations: 4 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.157e-05/0.0092, allocations: 15.97 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.227e-05/0.009233, allocations: 11.98 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.009244, allocations: 0 / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.073e-05/0.009294, allocations: 7.938 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.009308, allocations: 4 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.534e-05/0.009323, allocations: 7.938 kB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.425e-05/0.009407, allocations: 23.89 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.009411, allocations: 4 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.092e-06/0.009412, allocations: 0 / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.009415, allocations: 4 kB / 0.8404 GB, free: 12.37 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.000273/0.009688, allocations: 229 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.00972, allocations: 8.625 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.75e-05/0.009807, allocations: 8.922 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.197e-05/0.009889, allocations: 113.7 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.0099, allocations: 4.359 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-06/0.009905, allocations: 384 / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00613/0.01603, allocations: 54.95 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.01604, allocations: 192 / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.01605, allocations: 384 / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.01606, allocations: 8.375 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.01636, allocations: 15.86 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/0.01658, allocations: 140.3 kB / 0.8409 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.961e-05/0.01662, allocations: 18.58 kB / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.01664, allocations: 12.95 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.01665, allocations: 3.938 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.01667, allocations: 34.56 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.01667, allocations: 0 / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.000115/0.01679, allocations: 37.64 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.01682, allocations: 59.47 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.01688, allocations: 110.7 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.01689, allocations: 25.7 kB / 0.8412 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.863e-05/0.01692, allocations: 80.14 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.01693, allocations: 3.953 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.01696, allocations: 13.72 kB / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.01704, allocations: 318.8 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.01705, allocations: 8 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.862e-06/0.01706, allocations: 0 / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.45e-05/0.01709, allocations: 12.8 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.01709, allocations: 4.062 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.183e-05/0.01714, allocations: 37.69 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.01715, allocations: 6.5 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01716, allocations: 4 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.01717, allocations: 0 / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.01723, allocations: 7.938 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-06/0.01724, allocations: 0 / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.01726, allocations: 7.984 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.01726, allocations: 0 / 0.8417 GB, free: 10.85 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.327e-05/0.01731, allocations: 113.9 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.01733, allocations: 4 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.457e-05/0.0174, allocations: 44.94 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.0174, allocations: 0 / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.0174, allocations: 3.938 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.0174, allocations: 0 / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.99e-05/0.0175, allocations: 69.89 kB / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.0175, allocations: 0 / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.01753, allocations: 4 kB / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.01753, allocations: 0 / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-06/0.01754, allocations: 4.031 kB / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.01754, allocations: 0 / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01754, allocations: 0 / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.71e-05/0.01762, allocations: 143.4 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-06/0.01762, allocations: 192 / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.01763, allocations: 3.984 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.718e-05/0.01768, allocations: 4 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.01771, allocations: 11.98 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.01771, allocations: 0 / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.377e-05/0.01772, allocations: 16.78 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01772, allocations: 0 / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001793/0.0179, allocations: 8.031 kB / 0.8421 GB, free: 10.37 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 9.242e-05/0.01799, allocations: 72.42 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.093e-05/0.01804, allocations: 16.84 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01805, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-05/0.01806, allocations: 12.8 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.01823, allocations: 3.984 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002038/0.01843, allocations: 112.8 kB / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.329e-05/0.01846, allocations: 59.34 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.57e-05/0.01848, allocations: 0 / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.01852, allocations: 51.38 kB / 0.8424 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of SimCode: time 3.61e-07/0.01852, allocations: 0 / 0.8424 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of Templates: time 0.008557/0.02708, allocations: 467.8 kB / 0.8429 GB, free: 9.531 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.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.490916423033923]