Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.001686/0.001686, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001821/0.001821, allocations: 192.2 kB / 22.17 MB, free: 5.656 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.559/1.559, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 443.5 MB / 0.732 GB, free: 12.53 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 1.061 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8771/0.8791, allocations: 160.7 MB / 1.218 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00222/0.8813, allocations: 0.7542 MB / 1.219 GB, free: 3.504 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.8833, allocations: 1.272 MB / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.8833, allocations: 1.062 kB / 1.22 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.699e-05/0.8834, allocations: 3.938 kB / 1.22 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.36e-05/0.8835, allocations: 22.91 kB / 1.22 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007559/0.8842, allocations: 247.3 kB / 1.22 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.8845, allocations: 255.7 kB / 1.221 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.324e-05/0.8846, allocations: 13.41 kB / 1.221 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.8848, allocations: 101.6 kB / 1.221 GB, free: 2.078 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.885, allocations: 97.36 kB / 1.221 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.885, allocations: 22.31 kB / 1.221 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.791e-05/0.8851, allocations: 37.95 kB / 1.221 GB, free: 2 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.8851, allocations: 34.39 kB / 1.221 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.8853, allocations: 91.33 kB / 1.221 GB, free: 1.91 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000307/0.8856, allocations: 221.7 kB / 1.221 GB, free: 1.746 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.8856, allocations: 4 kB / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8856, allocations: 0 / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.8856, allocations: 0.75 kB / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008641/0.8865, allocations: 0.498 MB / 1.222 GB, free: 1.238 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.8865, allocations: 9.969 kB / 1.222 GB, free: 1.238 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.8866, allocations: 17.73 kB / 1.222 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006467/0.8872, allocations: 250.8 kB / 1.222 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.8873, allocations: 16.45 kB / 1.222 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.382e-05/0.8873, allocations: 21.39 kB / 1.222 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.8876, allocations: 130.2 kB / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.8876, allocations: 3.938 kB / 1.222 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.8876, allocations: 6.078 kB / 1.222 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.8876, allocations: 1.031 kB / 1.222 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.8878, allocations: 67.23 kB / 1.222 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008842/0.8886, allocations: 0.5126 MB / 1.223 GB, free: 336 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.8889, allocations: 136 kB / 1.223 GB, free: 236 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.778e-05/0.889, allocations: 57.61 kB / 1.223 GB, free: 192 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.889, allocations: 6.297 kB / 1.223 GB, free: 188 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/0.8894, allocations: 208.5 kB / 1.223 GB, free: 32 kB / 0.92 GB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.8894, allocations: 0 / 1.223 GB, free: 32 kB / 0.92 GB Notification: Performance of matching and sorting (n=22): time 0.0006196/0.89, allocations: 312.4 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.8901, allocations: 93.5 kB / 1.224 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.8902, allocations: 128.5 kB / 1.224 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.8903, allocations: 41.44 kB / 1.224 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.8903, allocations: 98 kB / 1.224 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.178e-05/0.8904, allocations: 52.44 kB / 1.224 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.8905, allocations: 73.92 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.8907, allocations: 323.2 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.8909, allocations: 85.36 kB / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.8911, allocations: 159.6 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.8914, allocations: 252.1 kB / 1.225 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8914, allocations: 1.188 kB / 1.225 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006178/0.8921, allocations: 358.8 kB / 1.225 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.864e-05/0.8921, allocations: 64.73 kB / 1.225 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.8921, allocations: 6.781 kB / 1.225 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.8921, allocations: 3.938 kB / 1.225 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.817e-05/0.8922, allocations: 24.64 kB / 1.225 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.8922, allocations: 10.19 kB / 1.225 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.8926, allocations: 63.89 kB / 1.225 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.8927, allocations: 18.48 kB / 1.225 GB, free: 14.4 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001514/0.8928, allocations: 146.7 kB / 1.225 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.8929, allocations: 20.19 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/0.8929, allocations: 13.72 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.8929, allocations: 3.438 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.8929, allocations: 3.938 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.8929, allocations: 5.078 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006892/0.8936, allocations: 0.611 MB / 1.226 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.8936, allocations: 1.219 kB / 1.226 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.8937, allocations: 10.31 kB / 1.226 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.8937, allocations: 8.656 kB / 1.226 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.8937, allocations: 11.23 kB / 1.226 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.8937, allocations: 2.25 kB / 1.226 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8937, allocations: 0 / 1.226 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000453/0.8942, allocations: 419.5 kB / 1.226 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.769e-05/0.8942, allocations: 89.88 kB / 1.227 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.8943, allocations: 11.98 kB / 1.227 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.8944, allocations: 16.36 kB / 1.227 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.8945, allocations: 22.66 kB / 1.227 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.8945, allocations: 16.98 kB / 1.227 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.284e-05/0.8946, allocations: 96.23 kB / 1.227 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8946, allocations: 5.219 kB / 1.227 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003726/0.8949, allocations: 61.31 kB / 1.227 GB, free: 13.14 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001779/0.8951, allocations: 114 kB / 1.227 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005089/0.8956, allocations: 321.2 kB / 1.227 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8956, allocations: 0.7812 kB / 1.227 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.8958, allocations: 89.27 kB / 1.227 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.8962, allocations: 38.25 kB / 1.227 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005756/0.8968, allocations: 289.2 kB / 1.228 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.8971, allocations: 0.705 MB / 1.228 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.306e-05/0.8972, allocations: 19.02 kB / 1.228 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.8972, allocations: 26.2 kB / 1.228 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.8972, allocations: 0 / 1.228 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of Templates: time 0.006626/0.9038, allocations: 2.731 MB / 1.231 GB, free: 10 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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: 8.920416261069477]