Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.001755/0.001755, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.002078/0.002078, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.453/1.453, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.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.608/2.608, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 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.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.89 kB / 1.057 GB, free: 1.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3008, allocations: 160.7 MB / 1.214 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002135/0.303, allocations: 0.8715 MB / 1.215 GB, free: 12 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.3051, allocations: 1.452 MB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.077e-05/0.3052, allocations: 0 / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005376/0.3057, allocations: 211.3 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.3059, allocations: 107.7 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.3072, allocations: 361.4 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00136/0.3085, allocations: 0.8776 MB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.3088, allocations: 76.27 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004764/0.3093, allocations: 351.3 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005234/0.3098, allocations: 283.3 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.3099, allocations: 44 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.3103, allocations: 111.9 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005545/0.3109, allocations: 367.2 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003815/0.3112, allocations: 266.9 kB / 1.219 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.3124, allocations: 0.9151 MB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3124, allocations: 0 / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3124, allocations: 0 / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.3124, allocations: 4 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001758/0.3141, allocations: 0.9111 MB / 1.221 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.3142, allocations: 15.98 kB / 1.221 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.3144, allocations: 56.66 kB / 1.221 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008659/0.3153, allocations: 0.5452 MB / 1.222 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.3153, allocations: 24.61 kB / 1.222 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.3154, allocations: 32.38 kB / 1.222 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005193/0.3159, allocations: 311.6 kB / 1.222 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3159, allocations: 192 / 1.222 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.316, allocations: 11.92 kB / 1.222 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.316, allocations: 4 kB / 1.222 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.3163, allocations: 219.8 kB / 1.222 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/0.3184, allocations: 1.184 MB / 1.223 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006993/0.3191, allocations: 455.8 kB / 1.224 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.3193, allocations: 178.6 kB / 1.224 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.3193, allocations: 4 kB / 1.224 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004785/0.3198, allocations: 331.3 kB / 1.224 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=24): time 1.573e-06/0.3198, allocations: 7.875 kB / 1.224 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24): time 0.001134/0.321, allocations: 0.6299 MB / 1.225 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.66e-05/0.3211, allocations: 118.8 kB / 1.225 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007583/0.3218, allocations: 0.5993 MB / 1.226 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.968e-05/0.3219, allocations: 45.7 kB / 1.226 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.3222, allocations: 217.5 kB / 1.226 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/0.3222, allocations: 51.69 kB / 1.226 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/0.3225, allocations: 181.5 kB / 1.226 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.3227, allocations: 362.8 kB / 1.226 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.3229, allocations: 131.8 kB / 1.227 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009688/0.3239, allocations: 0.7106 MB / 1.227 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.3243, allocations: 304.4 kB / 1.228 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3243, allocations: 0 / 1.228 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006956/0.325, allocations: 424.9 kB / 1.228 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.325, allocations: 8 kB / 1.228 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.325, allocations: 4 kB / 1.228 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.325, allocations: 4 kB / 1.228 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.3252, allocations: 39.86 kB / 1.228 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.3252, allocations: 11.92 kB / 1.228 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.3265, allocations: 127.2 kB / 1.228 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.3265, allocations: 19.98 kB / 1.228 GB, free: 1.902 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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 0.0003292/0.3268, allocations: 261.6 kB / 1.228 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.3269, allocations: 48.41 kB / 1.228 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.076e-05/0.327, allocations: 47.38 kB / 1.229 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.327, allocations: 7.938 kB / 1.229 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.327, allocations: 4 kB / 1.229 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.327, allocations: 3.984 kB / 1.229 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.3274, allocations: 397.3 kB / 1.229 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3274, allocations: 0 / 1.229 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.3275, allocations: 15.92 kB / 1.229 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.3275, allocations: 7.938 kB / 1.229 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.3275, allocations: 8 kB / 1.229 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3275, allocations: 3.938 kB / 1.229 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3275, allocations: 0 / 1.229 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000701/0.3282, allocations: 0.5139 MB / 1.229 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.3283, allocations: 128.8 kB / 1.23 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.3284, allocations: 7.984 kB / 1.23 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.3285, allocations: 23.92 kB / 1.23 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.3286, allocations: 27.97 kB / 1.23 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.3286, allocations: 12 kB / 1.23 GB, free: 312 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005374/0.3292, allocations: 439 kB / 1.23 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3292, allocations: 0 / 1.23 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004471/0.3296, allocations: 111.8 kB / 1.23 GB, free: 15.77 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002564/0.3299, allocations: 157.3 kB / 1.23 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005538/0.3304, allocations: 345.7 kB / 1.231 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3304, allocations: 0 / 1.231 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.3307, allocations: 195.8 kB / 1.231 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.331, allocations: 45.02 kB / 1.231 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.3324, allocations: 0.8748 MB / 1.232 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.3329, allocations: 0.835 MB / 1.233 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.391e-05/0.333, allocations: 35.44 kB / 1.233 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.333, allocations: 0 / 1.233 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of Templates: time 0.01064/0.3436, allocations: 7.043 MB / 1.239 GB, free: 6.316 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.175123104127124]