Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Sources.Examples.DayType.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Sources.Examples.DayType,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Sources_Examples_DayType",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01169/0.01169, allocations: 107.5 kB / 15.06 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001688/0.001688, allocations: 180.7 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.932/1.932, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.213/2.213, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004776, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6447/0.6452, allocations: 98.7 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.002682/0.6479, allocations: 1.117 MB / 0.6845 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.6491, allocations: 263.2 kB / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.261e-05/0.6493, allocations: 0 / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.6495, allocations: 15.45 kB / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.6496, allocations: 21.28 kB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007528/0.6504, allocations: 74.25 kB / 0.6849 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005192/0.6509, allocations: 151.4 kB / 0.685 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.544e-05/0.651, allocations: 6.984 kB / 0.685 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.6513, allocations: 80.42 kB / 0.6851 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.6516, allocations: 98.48 kB / 0.6852 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.748e-05/0.6517, allocations: 7.906 kB / 0.6852 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.749e-05/0.6518, allocations: 7.969 kB / 0.6852 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.6521, allocations: 76.75 kB / 0.6853 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.6522, allocations: 60.58 kB / 0.6853 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0005038/0.6527, allocations: 174 kB / 0.6855 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.6527, allocations: 4 kB / 0.6855 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.836e-06/0.6528, allocations: 3.938 kB / 0.6855 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.6528, allocations: 0 / 0.6855 GB, free: 15.48 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.002211/0.655, allocations: 0.6259 MB / 0.6861 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.6551, allocations: 10.47 kB / 0.6861 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001307/0.6553, allocations: 47.11 kB / 0.6862 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.6554, allocations: 30.52 kB / 0.6862 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005364/0.6559, allocations: 267.5 kB / 0.6865 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.62e-05/0.656, allocations: 14.39 kB / 0.6865 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.6562, allocations: 16.52 kB / 0.6865 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.6579, allocations: 458.2 kB / 0.6869 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.658, allocations: 0 / 0.6869 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.585e-05/0.6581, allocations: 7.797 kB / 0.6869 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.6581, allocations: 3.719 kB / 0.6869 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.6593, allocations: 322.3 kB / 0.6872 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.6609, allocations: 0.5654 MB / 0.6878 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002991/0.664, allocations: 1.033 MB / 0.6888 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.496e-05/0.6641, allocations: 4.828 kB / 0.6888 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009575/0.6651, allocations: 484.8 kB / 0.6893 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=37): time 3.065e-06/0.6651, allocations: 0 / 0.6893 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.002568/0.6677, allocations: 1.11 MB / 0.6904 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.6678, allocations: 140.2 kB / 0.6905 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.6682, allocations: 256.3 kB / 0.6907 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.513e-05/0.6682, allocations: 37.08 kB / 0.6908 GB, free: 13 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.6683, allocations: 119.9 kB / 0.6909 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.777e-05/0.6685, allocations: 81.78 kB / 0.691 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.6685, allocations: 5.438 kB / 0.691 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.6686, allocations: 349.2 kB / 0.6913 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006671/0.6693, allocations: 330.3 kB / 0.6916 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007131/0.67, allocations: 426.2 kB / 0.692 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000751/0.6708, allocations: 365.5 kB / 0.6924 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.6708, allocations: 1 kB / 0.6924 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001751/0.6726, allocations: 0.8243 MB / 0.6932 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.6726, allocations: 6.594 kB / 0.6932 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.6726, allocations: 3.062 kB / 0.6932 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/0.6727, allocations: 10.06 kB / 0.6932 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.673, allocations: 42.89 kB / 0.6932 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.673, allocations: 6.25 kB / 0.6932 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/0.6735, allocations: 34.16 kB / 0.6933 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005328/0.674, allocations: 265 kB / 0.6935 GB, free: 11.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0003485/0.6744, allocations: 198.6 kB / 0.6937 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.433e-05/0.6745, allocations: 24.66 kB / 0.6937 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.6746, allocations: 37.25 kB / 0.6938 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.6746, allocations: 6.156 kB / 0.6938 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.6746, allocations: 5.375 kB / 0.6938 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.6747, allocations: 3.391 kB / 0.6938 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003492/0.6782, allocations: 1.713 MB / 0.6955 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.6782, allocations: 0 / 0.6955 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.6783, allocations: 29.77 kB / 0.6955 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.6784, allocations: 10.28 kB / 0.6955 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.746e-05/0.6784, allocations: 19.45 kB / 0.6955 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.6785, allocations: 2.5 kB / 0.6955 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.6785, allocations: 1.875 kB / 0.6955 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.6804, allocations: 1.147 MB / 0.6966 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.6806, allocations: 109.6 kB / 0.6967 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.6807, allocations: 11.22 kB / 0.6968 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/0.6812, allocations: 6.094 kB / 0.6968 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.6814, allocations: 50.59 kB / 0.6968 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005624/0.6819, allocations: 281.6 kB / 0.6971 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002727/0.6822, allocations: 174 kB / 0.6972 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.21e-07/0.6822, allocations: 1.375 kB / 0.6972 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000773/0.683, allocations: 63.98 kB / 0.6973 GB, free: 10.04 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.y[1],dayTypMon.y[2],dayTypMon.iDay,dayTypMon.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],dayTypTwoWeeks.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],dayTypMonThr.iDay,dayTypMonThr.skipIDayIncrement) * Number of discrete states: 8 (dayTypMonThr.skipIDayIncrement,dayTypMonThr.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.iDay,dayTypSat.skipIDayIncrement,dayTypSat.iDay,dayTypMon.skipIDayIncrement,dayTypMon.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002117/0.6851, allocations: 1.942 MB / 0.6992 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.6868, allocations: 0.7316 MB / 0.6999 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.6868, allocations: 0 / 0.6999 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008975/0.6877, allocations: 407.9 kB / 0.7003 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/0.6902, allocations: 317.3 kB / 0.7006 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.693, allocations: 2.979 MB / 0.7035 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.6934, allocations: 0.7647 MB / 0.7043 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005591/0.6939, allocations: 104.5 kB / 0.7044 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.6942, allocations: 118.2 kB / 0.7045 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of SimCode: time 1.493e-06/0.6942, allocations: 1.094 kB / 0.7045 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03762/0.7319, allocations: 10.62 MB / 0.7149 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.7321, allocations: 180.7 kB / 0.715 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.776/3.509, allocations: 0 / 0.715 GB, free: 13.53 MB / 0.5417 GB