Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.00124/0.00124, allocations: 80.94 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.0012/0.0012, allocations: 177.3 kB / 23.35 MB, free: 1.137 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.9352/0.9352, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.379/2.379, allocations: 438.8 MB / 0.6826 GB, free: 13.56 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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.805e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00206/0.002088, allocations: 0.6795 MB / 0.8393 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.004004, allocations: 1.384 MB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.004067, allocations: 0 / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005352/0.004603, allocations: 215.3 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.004734, allocations: 103.7 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006657/0.0054, allocations: 243.2 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005305/0.005931, allocations: 479.8 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.005974, allocations: 4 kB / 0.8416 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/0.006275, allocations: 251.7 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.006555, allocations: 175.7 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.681e-05/0.006641, allocations: 16 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.006876, allocations: 95.83 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002458/0.007122, allocations: 183.6 kB / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.007272, allocations: 115.7 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005147/0.007786, allocations: 422.8 kB / 0.8428 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.00779, allocations: 0 / 0.8428 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.202e-06/0.007791, allocations: 0 / 0.8428 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.007797, allocations: 4 kB / 0.8428 GB, free: 9.812 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008111/0.008608, allocations: 0.5185 MB / 0.8433 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.008645, allocations: 8.625 kB / 0.8433 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.008751, allocations: 24.91 kB / 0.8433 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.009118, allocations: 257.7 kB / 0.8436 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.009139, allocations: 16.36 kB / 0.8436 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.869e-05/0.009208, allocations: 20.38 kB / 0.8436 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.009401, allocations: 103.6 kB / 0.8437 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.00941, allocations: 192 / 0.8437 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.009429, allocations: 8.344 kB / 0.8437 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.009435, allocations: 384 / 0.8437 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.983e-05/0.009535, allocations: 44.34 kB / 0.8438 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.009754, allocations: 135.2 kB / 0.8439 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.00998, allocations: 137.8 kB / 0.844 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.536e-05/0.01005, allocations: 34.62 kB / 0.8441 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.01005, allocations: 3.984 kB / 0.8441 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.01031, allocations: 228.4 kB / 0.8443 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.212e-06/0.01031, allocations: 4 kB / 0.8443 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0003834/0.0107, allocations: 198.5 kB / 0.8445 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.01077, allocations: 118.7 kB / 0.8446 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.01101, allocations: 271 kB / 0.8449 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/0.01107, allocations: 37.7 kB / 0.8449 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.918e-05/0.01116, allocations: 121.3 kB / 0.845 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.0112, allocations: 35.78 kB / 0.845 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.01134, allocations: 101.5 kB / 0.8451 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.01146, allocations: 346.7 kB / 0.8455 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-05/0.01151, allocations: 34.81 kB / 0.8455 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.01203, allocations: 0.9391 MB / 0.8464 GB, free: 5.602 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.01224, allocations: 200.7 kB / 0.8466 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.01224, allocations: 0 / 0.8466 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003059/0.01255, allocations: 205.8 kB / 0.8468 GB, free: 5.141 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.01257, allocations: 8.406 kB / 0.8468 GB, free: 5.133 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.01258, allocations: 8 kB / 0.8468 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.01259, allocations: 4 kB / 0.8468 GB, free: 5.121 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.01276, allocations: 43.84 kB / 0.8469 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.01277, allocations: 8 kB / 0.8469 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/0.01315, allocations: 64.19 kB / 0.8469 GB, free: 5.008 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.01317, allocations: 15.92 kB / 0.847 GB, free: 4.992 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.000149/0.01332, allocations: 150.5 kB / 0.8471 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.01336, allocations: 23.97 kB / 0.8471 GB, free: 4.809 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.696e-05/0.01341, allocations: 29.95 kB / 0.8471 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01341, allocations: 0 / 0.8471 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01342, allocations: 4 kB / 0.8472 GB, free: 4.773 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01342, allocations: 0 / 0.8472 GB, free: 4.773 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.0136, allocations: 137.7 kB / 0.8473 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.0136, allocations: 4 kB / 0.8473 GB, free: 4.617 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.286e-05/0.01361, allocations: 3.938 kB / 0.8473 GB, free: 4.613 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.01362, allocations: 4 kB / 0.8473 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.01363, allocations: 4 kB / 0.8473 GB, free: 4.605 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.01363, allocations: 3.984 kB / 0.8473 GB, free: 4.602 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01364, allocations: 8 kB / 0.8473 GB, free: 4.594 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.01388, allocations: 188.5 kB / 0.8475 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.01392, allocations: 27.84 kB / 0.8475 GB, free: 4.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.01395, allocations: 0 / 0.8475 GB, free: 4.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-05/0.01402, allocations: 7.938 kB / 0.8475 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.01407, allocations: 19.97 kB / 0.8475 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.01409, allocations: 8 kB / 0.8476 GB, free: 4.32 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001337/0.01422, allocations: 104.6 kB / 0.8477 GB, free: 4.215 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01422, allocations: 0 / 0.8477 GB, free: 4.215 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003811/0.0146, allocations: 79.92 kB / 0.8477 GB, free: 4.137 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * 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.0002075/0.01481, allocations: 117.2 kB / 0.8478 GB, free: 4.012 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.01506, allocations: 148.5 kB / 0.848 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.01506, allocations: 0 / 0.848 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.385e-05/0.01516, allocations: 68.75 kB / 0.848 GB, free: 3.793 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.01537, allocations: 37.34 kB / 0.8481 GB, free: 3.758 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006465/0.01601, allocations: 454.8 kB / 0.8485 GB, free: 3.277 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.737e-05/0.01608, allocations: 92.3 kB / 0.8486 GB, free: 3.168 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000103/0.01618, allocations: 38.11 kB / 0.8486 GB, free: 3.133 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.01642, allocations: 119.2 kB / 0.8488 GB, free: 3.016 MB / 0.8073 GB Notification: Performance of SimCode: time 5.81e-07/0.01642, allocations: 0 / 0.8488 GB, free: 3.016 MB / 0.8073 GB Notification: Performance of Templates: time 0.009959/0.02637, allocations: 5.837 MB / 0.8545 GB, free: 13.29 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.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.285530462861061]