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.001005/0.001005, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.0009923/0.0009924, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.231/2.231, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.212/4.212, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005438/0.0005441, allocations: 16 kB / 0.8375 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316/1.317, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001468/1.318, allocations: 0.5603 MB / 0.9814 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00257/1.321, allocations: 1.378 MB / 0.9828 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.675e-05/1.321, allocations: 4 kB / 0.9828 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006523/1.322, allocations: 191.5 kB / 0.983 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000211/1.322, allocations: 103.8 kB / 0.9831 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001271/1.323, allocations: 309.4 kB / 0.9834 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009779/1.324, allocations: 0.5068 MB / 0.9839 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002542/1.324, allocations: 80.44 kB / 0.9839 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004171/1.325, allocations: 295.4 kB / 0.9842 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004309/1.325, allocations: 219.4 kB / 0.9844 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/1.325, allocations: 16 kB / 0.9844 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/1.326, allocations: 67.94 kB / 0.9845 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005458/1.326, allocations: 299.4 kB / 0.9848 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/1.326, allocations: 93.45 kB / 0.9849 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/1.327, allocations: 0.7037 MB / 0.9856 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.327, allocations: 0 / 0.9856 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.417e-06/1.327, allocations: 0 / 0.9856 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.328e-06/1.327, allocations: 0 / 0.9856 GB, free: 1.453 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.001913/1.329, allocations: 0.697 MB / 0.9862 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.964e-05/1.329, allocations: 12.03 kB / 0.9863 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.604e-05/1.33, allocations: 42.55 kB / 0.9863 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/1.33, allocations: 55.44 kB / 0.9864 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/1.331, allocations: 0.5244 MB / 0.9869 GB, free: 20 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.746e-05/1.331, allocations: 28.3 kB / 0.9869 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/1.331, allocations: 36 kB / 0.9869 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007567/1.332, allocations: 309.6 kB / 0.9872 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/1.332, allocations: 0 / 0.9872 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/1.332, allocations: 0 / 0.9872 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/1.332, allocations: 7.938 kB / 0.9872 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006326/1.333, allocations: 223.8 kB / 0.9874 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002988/1.336, allocations: 1.191 MB / 0.9886 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008942/1.337, allocations: 468.1 kB / 0.9891 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/1.337, allocations: 3.938 kB / 0.9891 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006687/1.338, allocations: 328.8 kB / 0.9894 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=24): time 2.444e-06/1.338, allocations: 0 / 0.9894 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24): time 0.001505/1.339, allocations: 0.6257 MB / 0.99 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/1.339, allocations: 118.8 kB / 0.9901 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/1.34, allocations: 0.5955 MB / 0.9907 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/1.341, allocations: 45.7 kB / 0.9907 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/1.341, allocations: 218.9 kB / 0.9909 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.024e-05/1.341, allocations: 51.45 kB / 0.991 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/1.341, allocations: 4 kB / 0.991 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002502/1.341, allocations: 362.8 kB / 0.9913 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/1.342, allocations: 123.9 kB / 0.9914 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/1.343, allocations: 0.7136 MB / 0.9921 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/1.343, allocations: 171.8 kB / 0.9923 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/1.343, allocations: 4 kB / 0.9923 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009235/1.344, allocations: 416.8 kB / 0.9927 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/1.344, allocations: 11.94 kB / 0.9927 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/1.344, allocations: 1 kB / 0.9927 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/1.344, allocations: 8 kB / 0.9927 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/1.344, allocations: 35.92 kB / 0.9928 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/1.344, allocations: 11.95 kB / 0.9928 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/1.346, allocations: 140.8 kB / 0.9929 GB, free: 9.484 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/1.346, allocations: 16 kB / 0.9929 GB, free: 9.469 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.0005483/1.347, allocations: 261.6 kB / 0.9932 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/1.347, allocations: 43.52 kB / 0.9932 GB, free: 9.164 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/1.347, allocations: 51.31 kB / 0.9933 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/1.347, allocations: 4 kB / 0.9933 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.347, allocations: 0 / 0.9933 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/1.347, allocations: 7.953 kB / 0.9933 GB, free: 9.098 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006349/1.348, allocations: 405.2 kB / 0.9937 GB, free: 8.652 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.348, allocations: 0 / 0.9937 GB, free: 8.652 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.879e-05/1.348, allocations: 8 kB / 0.9937 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/1.348, allocations: 0 / 0.9937 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/1.348, allocations: 15.98 kB / 0.9937 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/1.348, allocations: 240 / 0.9937 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.348, allocations: 0 / 0.9937 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/1.349, allocations: 0.5342 MB / 0.9942 GB, free: 8.059 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/1.349, allocations: 140.5 kB / 0.9943 GB, free: 7.902 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-05/1.349, allocations: 12 kB / 0.9943 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/1.349, allocations: 15.94 kB / 0.9944 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/1.35, allocations: 43.88 kB / 0.9944 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/1.35, allocations: 8 kB / 0.9944 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007378/1.35, allocations: 435 kB / 0.9948 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/1.35, allocations: 3.938 kB / 0.9948 GB, free: 7.398 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007892/1.351, allocations: 115.9 kB / 0.9949 GB, free: 7.285 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.001736/1.353, allocations: 1.262 MB / 0.9962 GB, free: 5.98 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008556/1.354, allocations: 351.4 kB / 0.9965 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.354, allocations: 0 / 0.9965 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003463/1.354, allocations: 191.8 kB / 0.9967 GB, free: 5.449 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/1.355, allocations: 30.34 kB / 0.9967 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/1.358, allocations: 3.421 MB / 1 GB, free: 1.887 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006477/1.359, allocations: 0.8431 MB / 1.001 GB, free: 1.02 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004478/1.36, allocations: 91.05 kB / 1.001 GB, free: 0.9258 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/1.36, allocations: 127.4 kB / 1.001 GB, free: 0.8008 MB / 0.7481 GB Notification: Performance of SimCode: time 1.182e-06/1.36, allocations: 4 kB / 1.001 GB, free: 0.7969 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0381/1.398, allocations: 11.26 MB / 1.012 GB, free: 5.852 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003049/1.398, allocations: 201.1 kB / 1.012 GB, free: 5.613 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.84/4.238, allocations: 3.938 kB / 1.012 GB, free: 5.609 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