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.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.00134/0.00134, allocations: 116.7 kB / 17.08 MB, free: 5.992 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.001348/0.001349, allocations: 185.2 kB / 20.02 MB, free: 3.066 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.466/1.466, allocations: 222.9 MB / 245.7 MB, free: 4.312 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.026/3.026, allocations: 489.3 MB / 0.7687 GB, free: 3.969 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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 0.002003/0.002003, allocations: 71.89 kB / 1.103 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.896/0.898, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001872/0.8999, allocations: 0.6666 MB / 1.263 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008626/0.9008, allocations: 0.796 MB / 1.264 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.9008, allocations: 4.438 kB / 1.264 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.9008, allocations: 3.938 kB / 1.264 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.351e-05/0.9009, allocations: 0.8438 kB / 1.264 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.9011, allocations: 8.062 kB / 1.264 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.286e-05/0.9011, allocations: 25.34 kB / 1.264 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.173e-05/0.9012, allocations: 4.609 kB / 1.264 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.949e-05/0.9013, allocations: 15.89 kB / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.035e-05/0.9013, allocations: 9.828 kB / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.9014, allocations: 5.812 kB / 1.264 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.9014, allocations: 1.719 kB / 1.264 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.9014, allocations: 6.031 kB / 1.264 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.9014, allocations: 10.98 kB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.08e-05/0.9015, allocations: 21.3 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.9015, allocations: 0 / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.497e-06/0.9015, allocations: 0.8438 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.9015, allocations: 3.938 kB / 1.264 GB, free: 6.938 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003661/0.9019, allocations: 334.5 kB / 1.265 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.902, allocations: 13.94 kB / 1.265 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.902, allocations: 6.422 kB / 1.265 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.173e-05/0.9021, allocations: 167.4 kB / 1.265 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.9021, allocations: 1.281 kB / 1.265 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.9021, allocations: 1.766 kB / 1.265 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.9023, allocations: 52.34 kB / 1.265 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.9023, allocations: 1.734 kB / 1.265 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.9023, allocations: 7.875 kB / 1.265 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.9023, allocations: 0.8125 kB / 1.265 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.9025, allocations: 36.53 kB / 1.265 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.9027, allocations: 249.8 kB / 1.265 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.9029, allocations: 41.5 kB / 1.265 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.891e-05/0.903, allocations: 27.41 kB / 1.265 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.903, allocations: 0.9375 kB / 1.265 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.903, allocations: 32.12 kB / 1.265 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.903, allocations: 0 / 1.265 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003478/0.9034, allocations: 87.36 kB / 1.265 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.821e-05/0.9034, allocations: 52.28 kB / 1.265 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.178e-05/0.9035, allocations: 101 kB / 1.265 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.9035, allocations: 27.47 kB / 1.265 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/0.9035, allocations: 89.38 kB / 1.265 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.9035, allocations: 5.219 kB / 1.265 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.9036, allocations: 12.97 kB / 1.265 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.095e-05/0.9036, allocations: 317 kB / 1.266 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.43e-05/0.9037, allocations: 17.61 kB / 1.266 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-05/0.9038, allocations: 22.38 kB / 1.266 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.9039, allocations: 37.52 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9039, allocations: 0.75 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001892/0.9041, allocations: 74.88 kB / 1.266 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.9042, allocations: 5.562 kB / 1.266 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.9042, allocations: 4 kB / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.9042, allocations: 1.188 kB / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.9043, allocations: 8.453 kB / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.9043, allocations: 1.359 kB / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.9043, allocations: 5.875 kB / 1.266 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.9044, allocations: 0.75 kB / 1.266 GB, free: 5.219 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 (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.359e-05/0.9044, allocations: 116.3 kB / 1.266 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.9044, allocations: 1.406 kB / 1.266 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.9047, allocations: 75.09 kB / 1.266 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.9047, allocations: 1.547 kB / 1.266 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.9047, allocations: 0 / 1.266 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.9047, allocations: 0.6562 kB / 1.266 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.9048, allocations: 160 kB / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.9048, allocations: 0 / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.9049, allocations: 9.125 kB / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.9049, allocations: 4.719 kB / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.9049, allocations: 0.75 kB / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.9049, allocations: 0.5625 kB / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9049, allocations: 0.75 kB / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.9051, allocations: 170.8 kB / 1.266 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.9052, allocations: 78.75 kB / 1.267 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.9052, allocations: 9.438 kB / 1.267 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.9053, allocations: 9.312 kB / 1.267 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.9053, allocations: 6.562 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.9053, allocations: 0.75 kB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.079e-05/0.9053, allocations: 79.84 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9053, allocations: 0.5938 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002068/0.9056, allocations: 4.016 kB / 1.267 GB, free: 4.523 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 (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 0.0001179/0.9057, allocations: 98.11 kB / 1.267 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.9059, allocations: 39.53 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9059, allocations: 0 / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.737e-05/0.906, allocations: 20.03 kB / 1.267 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.9063, allocations: 9.453 kB / 1.267 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.9066, allocations: 134.9 kB / 1.267 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.057e-05/0.9067, allocations: 0.683 MB / 1.268 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.9067, allocations: 13.83 kB / 1.268 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.9067, allocations: 0 / 1.268 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of Templates: time 0.00216/0.9089, allocations: 0.5375 MB / 1.268 GB, free: 3.527 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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: 11.114796198904514]