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.001314/0.001314, allocations: 99.55 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.001643/0.001643, 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 1.355/1.355, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.429/2.429, allocations: 409.2 MB / 0.6838 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.000363, allocations: 8 kB / 0.8375 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7205/0.7209, allocations: 146.8 MB / 0.9809 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0008513/0.7218, allocations: 366.3 kB / 0.9812 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004314/0.7223, allocations: 187.5 kB / 0.9814 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.7223, allocations: 0 / 0.9814 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.464e-05/0.7224, allocations: 7.922 kB / 0.9814 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.102e-05/0.7224, allocations: 3.984 kB / 0.9814 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.7227, allocations: 35.91 kB / 0.9815 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.7228, allocations: 39.89 kB / 0.9815 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.702e-05/0.7229, allocations: 8 kB / 0.9815 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.107e-05/0.7229, allocations: 19.92 kB / 0.9815 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.361e-05/0.723, allocations: 23.91 kB / 0.9815 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.723, allocations: 4 kB / 0.9815 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.723, allocations: 0 / 0.9815 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.649e-05/0.7231, allocations: 15.98 kB / 0.9816 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.424e-05/0.7231, allocations: 37.64 kB / 0.9816 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.541e-05/0.7232, allocations: 51.88 kB / 0.9816 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.7232, allocations: 0 / 0.9816 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7232, allocations: 3.938 kB / 0.9817 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.7232, allocations: 0 / 0.9817 GB, free: 5.465 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.000496/0.7237, allocations: 387.1 kB / 0.982 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.7238, allocations: 12.03 kB / 0.982 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.39e-05/0.7238, allocations: 38.55 kB / 0.9821 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.7239, allocations: 7.906 kB / 0.9821 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.7241, allocations: 186.9 kB / 0.9823 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.7241, allocations: 4 kB / 0.9823 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.7241, allocations: 8 kB / 0.9823 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.7243, allocations: 81.59 kB / 0.9823 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.7243, allocations: 3.938 kB / 0.9823 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.7244, allocations: 4 kB / 0.9824 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.7244, allocations: 3.938 kB / 0.9824 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.483e-05/0.7245, allocations: 35.98 kB / 0.9824 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.7251, allocations: 348.6 kB / 0.9827 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.7252, allocations: 118.5 kB / 0.9828 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.7253, allocations: 8.016 kB / 0.9828 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.7255, allocations: 87.31 kB / 0.9829 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.7255, allocations: 0 / 0.9829 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0002908/0.7258, allocations: 153.5 kB / 0.9831 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.7258, allocations: 59.41 kB / 0.9831 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/0.7259, allocations: 129.7 kB / 0.9833 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.7259, allocations: 25.7 kB / 0.9833 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.726, allocations: 96.12 kB / 0.9834 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.726, allocations: 15.75 kB / 0.9834 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/0.726, allocations: 4 kB / 0.9834 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.7262, allocations: 322.8 kB / 0.9837 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.335e-05/0.7262, allocations: 35.98 kB / 0.9837 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.478e-05/0.7263, allocations: 55.09 kB / 0.9838 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.954e-05/0.7263, allocations: 39.92 kB / 0.9838 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7264, allocations: 0 / 0.9838 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001744/0.7265, allocations: 137.7 kB / 0.984 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.7266, allocations: 4 kB / 0.984 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7266, allocations: 0 / 0.984 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.7266, allocations: 8.031 kB / 0.984 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.19e-05/0.7267, allocations: 11.92 kB / 0.984 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.7267, allocations: 0 / 0.984 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.7267, allocations: 12 kB / 0.984 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.7268, allocations: 32.33 kB / 0.984 GB, free: 2.797 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 0.0001103/0.7269, allocations: 125.1 kB / 0.9841 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.7269, allocations: 7.859 kB / 0.9841 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.727, allocations: 16.31 kB / 0.9842 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.727, allocations: 7.938 kB / 0.9842 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.727, allocations: 0 / 0.9842 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.727, allocations: 0 / 0.9842 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.7274, allocations: 414.3 kB / 0.9846 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7274, allocations: 0 / 0.9846 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.421e-05/0.7274, allocations: 7.984 kB / 0.9846 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7274, allocations: 0 / 0.9846 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.7275, allocations: 4 kB / 0.9846 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.7275, allocations: 4 kB / 0.9846 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7275, allocations: 0 / 0.9846 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.7277, allocations: 223.3 kB / 0.9848 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.7277, allocations: 81.11 kB / 0.9849 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.7277, allocations: 0 / 0.9849 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.7278, allocations: 4 kB / 0.9849 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.7279, allocations: 11.98 kB / 0.9849 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/0.7279, allocations: 27.94 kB / 0.9849 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.086e-05/0.728, allocations: 103.4 kB / 0.985 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.728, allocations: 4 kB / 0.985 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002257/0.7282, allocations: 16 kB / 0.985 GB, free: 1.66 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.0004455/0.7287, allocations: 0.7594 MB / 0.9858 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.7288, allocations: 91.83 kB / 0.9859 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7288, allocations: 4.062 kB / 0.9859 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.643e-05/0.7289, allocations: 39.98 kB / 0.9859 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.7293, allocations: 72.73 kB / 0.986 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.73, allocations: 0.7244 MB / 0.9867 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.7302, allocations: 0.6926 MB / 0.9874 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.433e-05/0.7303, allocations: 20.67 kB / 0.9874 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.7303, allocations: 27.42 kB / 0.9874 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.7304, allocations: 0 / 0.9874 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01373/0.7441, allocations: 2.569 MB / 0.9899 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.7443, allocations: 223 kB / 0.9901 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.544, allocations: 0 / 0.9901 GB, free: 12.51 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