Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007681/0.007681, allocations: 102.7 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001297, allocations: 190.1 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.259/2.259, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 63.91 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9324/0.9346, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002392/0.9371, allocations: 0.8676 MB / 1.088 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.9391, allocations: 1.443 MB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.429e-05/0.9392, allocations: 10.12 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005688/0.9397, allocations: 196.8 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.9399, allocations: 117.9 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009629/0.9409, allocations: 358.2 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009597/0.9419, allocations: 0.8708 MB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.9421, allocations: 103.3 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004735/0.9425, allocations: 350.9 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004959/0.943, allocations: 256.5 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.9432, allocations: 45.25 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.9435, allocations: 110.2 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000497/0.944, allocations: 344.4 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.9444, allocations: 274.5 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.9455, allocations: 0.9085 MB / 1.094 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.9455, allocations: 0.7812 kB / 1.094 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9455, allocations: 4 kB / 1.094 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.9456, allocations: 0 / 1.094 GB, free: 2.258 MB / 0.8575 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.001742/0.9473, allocations: 0.8866 MB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.9474, allocations: 9 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.828e-05/0.9474, allocations: 46.25 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.9477, allocations: 54.56 kB / 1.095 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000992/0.9487, allocations: 0.5435 MB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.9487, allocations: 30.08 kB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.9488, allocations: 40.38 kB / 1.095 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.9494, allocations: 314.1 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.9494, allocations: 1.156 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.9494, allocations: 2.469 kB / 1.095 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.9494, allocations: 6.938 kB / 1.095 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003626/0.9498, allocations: 221 kB / 1.096 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/0.9521, allocations: 1.178 MB / 1.097 GB, free: 332 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006754/0.9528, allocations: 472.6 kB / 1.097 GB, free: 116 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.953, allocations: 185.6 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.953, allocations: 1.188 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005251/0.9536, allocations: 332.1 kB / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=24): time 2.084e-06/0.9536, allocations: 0 / 1.098 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24): time 0.001236/0.9548, allocations: 0.628 MB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.9549, allocations: 113.3 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000876/0.9558, allocations: 0.5951 MB / 1.099 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.9559, allocations: 45.03 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.9562, allocations: 216.9 kB / 1.099 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.261e-05/0.9563, allocations: 52.06 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003875/0.9566, allocations: 187.6 kB / 1.1 GB, free: 15 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.9568, allocations: 368.3 kB / 1.1 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.9571, allocations: 126.2 kB / 1.1 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.9582, allocations: 0.7131 MB / 1.101 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.9586, allocations: 298.8 kB / 1.101 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.9586, allocations: 1.312 kB / 1.101 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007817/0.9594, allocations: 417.8 kB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.9594, allocations: 12.39 kB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.9595, allocations: 2.438 kB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.9595, allocations: 5.719 kB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.9597, allocations: 35.95 kB / 1.101 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.9597, allocations: 13.84 kB / 1.101 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.9611, allocations: 126.6 kB / 1.102 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.9611, allocations: 15.12 kB / 1.102 GB, free: 13.65 MB / 0.8731 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.0004145/0.9615, allocations: 257.7 kB / 1.102 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-05/0.9616, allocations: 43.02 kB / 1.102 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.448e-05/0.9617, allocations: 52.33 kB / 1.102 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.9618, allocations: 2.734 kB / 1.102 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.9618, allocations: 1.375 kB / 1.102 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.9618, allocations: 6.406 kB / 1.102 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000503/0.9623, allocations: 408 kB / 1.102 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.9623, allocations: 1.188 kB / 1.102 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.512e-05/0.9623, allocations: 13.73 kB / 1.102 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.9623, allocations: 5.969 kB / 1.102 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.9624, allocations: 6.109 kB / 1.102 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.9624, allocations: 1.125 kB / 1.102 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.9624, allocations: 1.375 kB / 1.102 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007839/0.9632, allocations: 0.5189 MB / 1.103 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.9633, allocations: 126.6 kB / 1.103 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.9634, allocations: 11.53 kB / 1.103 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.9636, allocations: 14 kB / 1.103 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.236e-05/0.9637, allocations: 29.34 kB / 1.103 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.9637, allocations: 13 kB / 1.103 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006396/0.9643, allocations: 433.4 kB / 1.103 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9644, allocations: 1.188 kB / 1.103 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008325/0.9652, allocations: 115.6 kB / 1.104 GB, free: 12.58 MB / 0.8731 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.001662/0.9669, allocations: 1.105 MB / 1.105 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009165/0.9678, allocations: 361.7 kB / 1.105 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.9678, allocations: 0 / 1.105 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.9682, allocations: 185.5 kB / 1.105 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.9686, allocations: 42.03 kB / 1.105 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008046/0.9767, allocations: 4.403 MB / 1.109 GB, free: 9.254 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/0.9773, allocations: 0.8334 MB / 1.11 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004561/0.9778, allocations: 96.42 kB / 1.11 GB, free: 8.523 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.978, allocations: 132.8 kB / 1.111 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of SimCode: time 1.022e-06/0.978, allocations: 0 / 1.111 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03696/1.015, allocations: 11.77 MB / 1.122 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.85/9.865, allocations: 8.906 kB / 1.122 GB, free: 7.379 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches