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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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.0008224/0.0008223, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0009886/0.0009884, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.647/2.647, allocations: 409.4 MB / 0.684 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 12 kB / 0.8378 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8208/0.8211, allocations: 146.8 MB / 0.9812 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001141/0.8223, allocations: 0.5484 MB / 0.9817 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.8242, allocations: 1.428 MB / 0.9831 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/0.8243, allocations: 4 kB / 0.9831 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004807/0.8248, allocations: 187.5 kB / 0.9833 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.825, allocations: 103.7 kB / 0.9834 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009201/0.8259, allocations: 312.2 kB / 0.9837 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008185/0.8267, allocations: 0.6627 MB / 0.9843 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.8269, allocations: 76.44 kB / 0.9844 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003102/0.8272, allocations: 303.4 kB / 0.9847 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.8276, allocations: 223.3 kB / 0.9849 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.746e-05/0.8277, allocations: 16 kB / 0.9849 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.8279, allocations: 75.94 kB / 0.985 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003909/0.8283, allocations: 299.4 kB / 0.9853 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.8284, allocations: 97.39 kB / 0.9854 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005939/0.829, allocations: 0.6998 MB / 0.986 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.829, allocations: 0 / 0.986 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.344e-06/0.829, allocations: 4 kB / 0.986 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.829, allocations: 0 / 0.986 GB, free: 1.211 MB / 0.7325 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.001194/0.8302, allocations: 0.701 MB / 0.9867 GB, free: 468 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.8303, allocations: 11.97 kB / 0.9867 GB, free: 456 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.547e-05/0.8303, allocations: 42.55 kB / 0.9868 GB, free: 404 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.8305, allocations: 55.44 kB / 0.9868 GB, free: 348 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007263/0.8312, allocations: 0.5205 MB / 0.9873 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.8312, allocations: 24.22 kB / 0.9874 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.877e-05/0.8314, allocations: 44 kB / 0.9874 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.8318, allocations: 305.6 kB / 0.9877 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.8319, allocations: 0 / 0.9877 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.8319, allocations: 8 kB / 0.9877 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.8319, allocations: 4 kB / 0.9877 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.8322, allocations: 219.8 kB / 0.9879 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.834, allocations: 1.187 MB / 0.9891 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006107/0.8346, allocations: 471.8 kB / 0.9895 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.8348, allocations: 178.6 kB / 0.9897 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.8348, allocations: 4 kB / 0.9897 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004333/0.8353, allocations: 321.7 kB / 0.99 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.8353, allocations: 3.938 kB / 0.99 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24): time 0.0009549/0.8363, allocations: 0.6296 MB / 0.9906 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.8363, allocations: 126.7 kB / 0.9907 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006608/0.837, allocations: 0.5955 MB / 0.9913 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.361e-05/0.8371, allocations: 41.7 kB / 0.9914 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.8373, allocations: 222.9 kB / 0.9916 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.8374, allocations: 51.38 kB / 0.9916 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/0.8374, allocations: 8 kB / 0.9916 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.8376, allocations: 362.8 kB / 0.992 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.8378, allocations: 119.9 kB / 0.9921 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007598/0.8385, allocations: 0.7137 MB / 0.9928 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.8388, allocations: 171.8 kB / 0.993 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.8388, allocations: 4 kB / 0.993 GB, free: 9.652 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005808/0.8393, allocations: 420.7 kB / 0.9934 GB, free: 9.234 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.8394, allocations: 8 kB / 0.9934 GB, free: 9.227 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.8394, allocations: 4 kB / 0.9934 GB, free: 9.223 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.8394, allocations: 4 kB / 0.9934 GB, free: 9.219 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.8396, allocations: 31.88 kB / 0.9934 GB, free: 9.188 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.8396, allocations: 8 kB / 0.9934 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.8407, allocations: 140.9 kB / 0.9936 GB, free: 9.055 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.8407, allocations: 12 kB / 0.9936 GB, free: 9.043 MB / 0.7481 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.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002952/0.841, allocations: 269.6 kB / 0.9938 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.8411, allocations: 39.53 kB / 0.9939 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.492e-05/0.8412, allocations: 51.36 kB / 0.9939 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.8412, allocations: 4 kB / 0.9939 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.8412, allocations: 3.953 kB / 0.9939 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.8412, allocations: 4 kB / 0.9939 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.8416, allocations: 417.1 kB / 0.9943 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.8416, allocations: 0 / 0.9943 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.167e-05/0.8417, allocations: 4.75 kB / 0.9943 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.8417, allocations: 4 kB / 0.9943 GB, free: 8.203 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.8417, allocations: 15.98 kB / 0.9943 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.8417, allocations: 256 / 0.9943 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8417, allocations: 3.938 kB / 0.9943 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.8424, allocations: 0.5152 MB / 0.9948 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.8425, allocations: 140.5 kB / 0.995 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-05/0.8426, allocations: 4 kB / 0.995 GB, free: 7.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.8427, allocations: 19.98 kB / 0.995 GB, free: 7.465 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/0.8428, allocations: 35.95 kB / 0.995 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.8429, allocations: 15.89 kB / 0.9951 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000472/0.8433, allocations: 435 kB / 0.9955 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8434, allocations: 0 / 0.9955 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004605/0.8438, allocations: 115.9 kB / 0.9956 GB, free: 6.879 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00116/0.845, allocations: 1.09 MB / 0.9966 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005628/0.8456, allocations: 352.6 kB / 0.997 GB, free: 5.41 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8456, allocations: 4.062 kB / 0.997 GB, free: 5.406 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.8458, allocations: 195.8 kB / 0.9972 GB, free: 5.215 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.8462, allocations: 33.95 kB / 0.9972 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/0.8507, allocations: 3.206 MB / 1 GB, free: 1.879 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.8512, allocations: 0.8314 MB / 1.001 GB, free: 1.023 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002841/0.8515, allocations: 94.92 kB / 1.001 GB, free: 0.9297 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.8517, allocations: 136.4 kB / 1.001 GB, free: 0.7969 MB / 0.7481 GB Notification: Performance of SimCode: time 7.31e-07/0.8517, allocations: 0 / 1.001 GB, free: 0.7969 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.8776, allocations: 11.48 MB / 1.013 GB, free: 5.637 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/0.8779, allocations: 209.2 kB / 1.013 GB, free: 5.395 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/2.995, allocations: 1.25 kB / 1.013 GB, free: 5.395 MB / 0.7637 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat does not exist to compare? outputFormat=mat