Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.0009905/0.0009905, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001005/0.001005, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9475/0.9475, allocations: 177.1 MB / 204.5 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.101/2.101, allocations: 429.5 MB / 0.6743 GB, free: 3.926 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.[0-9,]+.|booTimTabTwi.y.[0-9,]+.|booTimTabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.|booTimTabTwi.y.[0-9,]+.|booTimTabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0.875 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.771e-05, allocations: 6.969 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001567/0.001595, allocations: 0.8522 MB / 0.8802 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.003266, allocations: 1.489 MB / 0.8817 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.515e-05/0.003361, allocations: 0 / 0.8817 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.00382, allocations: 210 kB / 0.8819 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.003925, allocations: 124.8 kB / 0.882 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006652/0.00459, allocations: 361.2 kB / 0.8824 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006257/0.005216, allocations: 0.8775 MB / 0.8832 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.005369, allocations: 56.55 kB / 0.8833 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/0.005714, allocations: 455.5 kB / 0.8837 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.006003, allocations: 235.6 kB / 0.8839 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.905e-05/0.006082, allocations: 40 kB / 0.884 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.006315, allocations: 115.8 kB / 0.8841 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0003028/0.006618, allocations: 311.3 kB / 0.8844 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.006797, allocations: 207.5 kB / 0.8846 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006859/0.007483, allocations: 0.7051 MB / 0.8853 GB, free: 16 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.007487, allocations: 0 / 0.8853 GB, free: 16 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/0.007489, allocations: 0 / 0.8853 GB, free: 16 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.007494, allocations: 0 / 0.8853 GB, free: 16 kB / 0.8386 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.0009364/0.008431, allocations: 0.885 MB / 0.8861 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.00847, allocations: 12.03 kB / 0.8861 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.008612, allocations: 64.61 kB / 0.8862 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.009013, allocations: 394.5 kB / 0.8866 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.009036, allocations: 24.59 kB / 0.8866 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/0.009103, allocations: 32.38 kB / 0.8866 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.009322, allocations: 171.7 kB / 0.8868 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.009332, allocations: 4.172 kB / 0.8868 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.009348, allocations: 4.375 kB / 0.8868 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.009355, allocations: 8.375 kB / 0.8868 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.079e-05/0.009435, allocations: 55.83 kB / 0.8869 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009908/0.01043, allocations: 0.9544 MB / 0.8878 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.01065, allocations: 197.4 kB / 0.888 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.197e-05/0.01073, allocations: 63.12 kB / 0.888 GB, free: 13 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.01074, allocations: 7.938 kB / 0.888 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.01099, allocations: 252 kB / 0.8883 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=24): time 1.873e-06/0.01099, allocations: 4 kB / 0.8883 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24): time 0.0004829/0.01147, allocations: 373.8 kB / 0.8886 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.01154, allocations: 114.8 kB / 0.8888 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.01189, allocations: 0.5023 MB / 0.8892 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.01195, allocations: 41.7 kB / 0.8893 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.01213, allocations: 288.4 kB / 0.8896 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.01217, allocations: 63.56 kB / 0.8896 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.01234, allocations: 183.1 kB / 0.8898 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.01252, allocations: 0.5507 MB / 0.8903 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.539e-05/0.01257, allocations: 43.95 kB / 0.8904 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008607/0.01343, allocations: 1.661 MB / 0.892 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.01362, allocations: 239 kB / 0.8922 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01363, allocations: 4 kB / 0.8922 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003276/0.01395, allocations: 276.9 kB / 0.8925 GB, free: 7.758 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.01397, allocations: 8 kB / 0.8925 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.01398, allocations: 4 kB / 0.8925 GB, free: 7.746 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.01399, allocations: 4.375 kB / 0.8925 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.01412, allocations: 47.92 kB / 0.8926 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.01413, allocations: 15.92 kB / 0.8926 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004164/0.01454, allocations: 96.2 kB / 0.8927 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.01456, allocations: 20 kB / 0.8927 GB, free: 7.566 MB / 0.8542 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.0001593/0.01472, allocations: 204.4 kB / 0.8929 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.01477, allocations: 55.7 kB / 0.8929 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.01482, allocations: 39.44 kB / 0.893 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.01483, allocations: 7.984 kB / 0.893 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01483, allocations: 0 / 0.893 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01484, allocations: 0 / 0.893 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.01505, allocations: 252.9 kB / 0.8932 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.01505, allocations: 0 / 0.8932 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-05/0.01507, allocations: 11.94 kB / 0.8932 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.01507, allocations: 0 / 0.8932 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.01508, allocations: 7.984 kB / 0.8932 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01508, allocations: 4 kB / 0.8932 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.01509, allocations: 0 / 0.8932 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.01543, allocations: 369.2 kB / 0.8936 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.01547, allocations: 43.75 kB / 0.8936 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.0155, allocations: 4 kB / 0.8936 GB, free: 6.527 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.566e-05/0.01555, allocations: 11.92 kB / 0.8936 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.0156, allocations: 19.97 kB / 0.8937 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.01562, allocations: 8 kB / 0.8937 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001804/0.0158, allocations: 307 kB / 0.894 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0158, allocations: 0 / 0.894 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003089/0.01611, allocations: 115.8 kB / 0.8941 GB, free: 6.074 MB / 0.8542 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.0002153/0.01633, allocations: 153.6 kB / 0.8942 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002405/0.01657, allocations: 184 kB / 0.8944 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.01657, allocations: 4 kB / 0.8944 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.906e-05/0.01665, allocations: 83.58 kB / 0.8945 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.01687, allocations: 44.02 kB / 0.8945 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007595/0.01763, allocations: 0.6691 MB / 0.8952 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.519e-05/0.0177, allocations: 121.3 kB / 0.8953 GB, free: 4.75 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001156/0.01782, allocations: 59.06 kB / 0.8954 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.01807, allocations: 190.1 kB / 0.8955 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of SimCode: time 1.162e-06/0.01807, allocations: 4 kB / 0.8955 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.0111/0.02916, allocations: 9.278 MB / 0.9046 GB, free: 11.37 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_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.843776628840715]