Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.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.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",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.0008209/0.0008209, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.0008621/0.0008622, allocations: 168.7 kB / 15.95 MB, free: 204 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.399/1.399, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.561/2.561, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003569, allocations: 12 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7663/0.7666, allocations: 146.8 MB / 0.9812 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0008826/0.7676, allocations: 370 kB / 0.9815 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004828/0.7681, allocations: 183.5 kB / 0.9817 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.7681, allocations: 4 kB / 0.9817 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.7682, allocations: 4 kB / 0.9817 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.446e-05/0.7683, allocations: 3.938 kB / 0.9817 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.7686, allocations: 35.95 kB / 0.9817 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.7687, allocations: 47.84 kB / 0.9818 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.7688, allocations: 8 kB / 0.9818 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.913e-05/0.7689, allocations: 27.92 kB / 0.9818 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.254e-05/0.7689, allocations: 19.91 kB / 0.9818 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.769, allocations: 0 / 0.9818 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.459e-05/0.769, allocations: 4 kB / 0.9818 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.769, allocations: 11.98 kB / 0.9818 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.7691, allocations: 41.58 kB / 0.9819 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.615e-05/0.7692, allocations: 51.88 kB / 0.9819 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.7692, allocations: 0 / 0.9819 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7692, allocations: 0 / 0.9819 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.7692, allocations: 0 / 0.9819 GB, free: 5.461 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005739/0.7698, allocations: 399.1 kB / 0.9823 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.7699, allocations: 8.031 kB / 0.9823 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.7699, allocations: 38.56 kB / 0.9824 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.77, allocations: 7.906 kB / 0.9824 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.7702, allocations: 178.9 kB / 0.9825 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.7702, allocations: 4 kB / 0.9825 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.7702, allocations: 4 kB / 0.9825 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.7704, allocations: 93.53 kB / 0.9826 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.7704, allocations: 0 / 0.9826 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.7704, allocations: 0 / 0.9826 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.7704, allocations: 8 kB / 0.9826 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.635e-05/0.7705, allocations: 39.97 kB / 0.9827 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.7711, allocations: 340.7 kB / 0.983 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.7713, allocations: 118.5 kB / 0.9831 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.851e-05/0.7714, allocations: 64.86 kB / 0.9832 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.7714, allocations: 0 / 0.9832 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.7716, allocations: 95.31 kB / 0.9833 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.7716, allocations: 0 / 0.9833 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0002757/0.7719, allocations: 157.4 kB / 0.9834 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.772, allocations: 55.41 kB / 0.9835 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.955e-05/0.772, allocations: 125.8 kB / 0.9836 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.7721, allocations: 29.69 kB / 0.9836 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.7722, allocations: 92.14 kB / 0.9837 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.7722, allocations: 19.75 kB / 0.9837 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.7722, allocations: 4 kB / 0.9837 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.7724, allocations: 318.8 kB / 0.984 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.595e-05/0.7724, allocations: 36.03 kB / 0.9841 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.588e-05/0.7725, allocations: 58.55 kB / 0.9841 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.58e-05/0.7726, allocations: 43.97 kB / 0.9842 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7726, allocations: 3.953 kB / 0.9842 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001778/0.7728, allocations: 133.6 kB / 0.9843 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.7728, allocations: 4 kB / 0.9843 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.7728, allocations: 3.938 kB / 0.9843 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.7728, allocations: 4 kB / 0.9843 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.954e-05/0.7729, allocations: 7.984 kB / 0.9843 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.7729, allocations: 0 / 0.9843 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.025e-05/0.773, allocations: 4 kB / 0.9843 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.773, allocations: 31.98 kB / 0.9844 GB, free: 2.734 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 9.438e-05/0.7731, allocations: 131.3 kB / 0.9845 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.7732, allocations: 7.859 kB / 0.9845 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.7732, allocations: 12.38 kB / 0.9845 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.7732, allocations: 4 kB / 0.9845 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7732, allocations: 0 / 0.9845 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.7732, allocations: 3.984 kB / 0.9845 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.7736, allocations: 418.3 kB / 0.9849 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.7736, allocations: 480 / 0.9849 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-05/0.7737, allocations: 4 kB / 0.9849 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.7737, allocations: 0 / 0.9849 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.7737, allocations: 0 / 0.9849 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.7737, allocations: 4 kB / 0.9849 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7737, allocations: 7.922 kB / 0.9849 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.7739, allocations: 215.3 kB / 0.9851 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.7739, allocations: 85.11 kB / 0.9852 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.774, allocations: 7.938 kB / 0.9852 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.774, allocations: 7.984 kB / 0.9852 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.7741, allocations: 7.984 kB / 0.9852 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.7741, allocations: 27.95 kB / 0.9853 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.091e-05/0.7742, allocations: 95.92 kB / 0.9853 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7742, allocations: 0 / 0.9853 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002295/0.7744, allocations: 16 kB / 0.9854 GB, free: 1.598 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004829/0.7749, allocations: 0.7603 MB / 0.9861 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.7751, allocations: 91.89 kB / 0.9862 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.7751, allocations: 0 / 0.9862 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.125e-05/0.7752, allocations: 47.97 kB / 0.9862 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.7756, allocations: 66.61 kB / 0.9863 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009036/0.7765, allocations: 0.6537 MB / 0.9869 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.7768, allocations: 0.6927 MB / 0.9876 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.254e-05/0.7768, allocations: 12.55 kB / 0.9876 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.7769, allocations: 27.42 kB / 0.9877 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.7769, allocations: 0 / 0.9877 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0116/0.7885, allocations: 2.611 MB / 0.9902 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/0.7887, allocations: 215.8 kB / 0.9904 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.538, allocations: 2.25 kB / 0.9904 GB, free: 12.5 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck_fmu --startTime=0 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck_res.mat does not exist to compare? outputFormat=mat