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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001124/0.001124, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 195.5 kB / 16.53 MB, free: 6.668 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.791/2.791, allocations: 469.4 MB / 0.742 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 65.59 kB / 0.9083 GB, free: 34.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2585, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002046/0.2606, allocations: 0.8572 MB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.2624, allocations: 1.449 MB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.706e-05/0.2625, allocations: 4 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004378/0.263, allocations: 199.4 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.2631, allocations: 111.6 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009207/0.264, allocations: 364 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007801/0.2648, allocations: 0.8543 MB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.265, allocations: 96.19 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/0.2655, allocations: 347.4 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004052/0.2659, allocations: 259.3 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002006/0.2661, allocations: 48 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.2664, allocations: 115.9 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004167/0.2668, allocations: 347.3 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003656/0.2672, allocations: 274.8 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000794/0.268, allocations: 0.8925 MB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.268, allocations: 4 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.52e-07/0.268, allocations: 0 / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.268, allocations: 0 / 1.07 GB, free: 8.32 MB / 0.8262 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.001564/0.2696, allocations: 0.8879 MB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2696, allocations: 16.03 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.633e-05/0.2697, allocations: 46.73 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.2699, allocations: 52.38 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007345/0.2706, allocations: 0.537 MB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.2707, allocations: 20.61 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.2708, allocations: 40.36 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.2712, allocations: 310.2 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2712, allocations: 7.938 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.2713, allocations: 8 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.2713, allocations: 4 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.2716, allocations: 227.8 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.2733, allocations: 1.18 MB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005725/0.2739, allocations: 467.8 kB / 1.073 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.2741, allocations: 182.5 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.2742, allocations: 4 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004011/0.2746, allocations: 339.8 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=24): time 1.803e-06/0.2746, allocations: 4 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24): time 0.0009327/0.2755, allocations: 0.6264 MB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.2756, allocations: 114.8 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006196/0.2762, allocations: 0.5993 MB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.758e-05/0.2763, allocations: 41.7 kB / 1.075 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.2765, allocations: 218.5 kB / 1.075 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.2766, allocations: 47.41 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.2768, allocations: 185.5 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2769, allocations: 366.8 kB / 1.076 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.2771, allocations: 131.7 kB / 1.076 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007349/0.2779, allocations: 0.7149 MB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.2782, allocations: 296.6 kB / 1.077 GB, free: 200 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2782, allocations: 0 / 1.077 GB, free: 200 kB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000623/0.2788, allocations: 420.8 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.2788, allocations: 4 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.2788, allocations: 7.938 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.2789, allocations: 11.98 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.279, allocations: 31.86 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.279, allocations: 4.234 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.2803, allocations: 136.3 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.2804, allocations: 12 kB / 1.078 GB, free: 15.57 MB / 0.8419 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.0002755/0.2806, allocations: 265.6 kB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.2807, allocations: 39.53 kB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.412e-05/0.2808, allocations: 55.3 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2808, allocations: 4 kB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2808, allocations: 0 / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2808, allocations: 3.938 kB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.2812, allocations: 409.2 kB / 1.078 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2812, allocations: 0 / 1.078 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.2812, allocations: 4 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2812, allocations: 4 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.2812, allocations: 11.92 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.2813, allocations: 4 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2813, allocations: 0 / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006052/0.2819, allocations: 0.5098 MB / 1.079 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.596e-05/0.282, allocations: 132.5 kB / 1.079 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.282, allocations: 12.03 kB / 1.079 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.2822, allocations: 19.92 kB / 1.079 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/0.2823, allocations: 27.97 kB / 1.079 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.2823, allocations: 19.98 kB / 1.079 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004404/0.2828, allocations: 427.1 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2828, allocations: 0 / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004314/0.2832, allocations: 119.8 kB / 1.08 GB, free: 13.43 MB / 0.8419 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.0009534/0.2842, allocations: 1.101 MB / 1.081 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005345/0.2847, allocations: 372.2 kB / 1.081 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2847, allocations: 3.938 kB / 1.081 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.2849, allocations: 187.9 kB / 1.081 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.2852, allocations: 38.08 kB / 1.081 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004838/0.2901, allocations: 4.445 MB / 1.086 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.2905, allocations: 0.8311 MB / 1.087 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002508/0.2908, allocations: 94.92 kB / 1.087 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.2909, allocations: 131.8 kB / 1.087 GB, free: 6.004 MB / 0.8419 GB Notification: Performance of SimCode: time 8.21e-07/0.291, allocations: 0 / 1.087 GB, free: 6.004 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.3208, allocations: 11.48 MB / 1.098 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.426/7.747, allocations: 14.12 kB / 1.098 GB, free: 10.76 MB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches